Content API
Shop layout
Rearranging, categorising and hiding towers in the shop.
mod.existing_tower("DartMonkey").shop(after="SniperMonkey", category="military")
robot = mod.tower("robot", base="DartMonkey", cost=300)
robot.shop(before="DartMonkey")
mod.existing_tower("BananaFarm").shop(visible=False)
- Give exactly one of
before,afteror zero-basedindex. - Categories are
primary,military,magicandsupport. visible=Falsehides an entry.- Both native shop layouts change. Existing mode restrictions still apply.