DemolishWalls (Material) - originalfoo/Prison-Architect-API GitHub Wiki
##Overview
The DemolishWalls material is a command on the "Materials" menu that lets the player select walls which will then be demolished.
##Modding
See Materials - Modding for scripting information and details on how to change menu, icons, sprites, and settings.
For reference, here is the default definition for this material:
BEGIN Material
-
NameDemolishWalls -
ConstructionTime1.00000 -
SoftEdged-1 -
BEGINSprite0x 0y 3END
END
Doesn't seem to be scriptable.
##Notes
This tool can only be used on tiles that have wall materials (most likely determined by the BlockMovement setting on those materials or presence of Wall in their <materialId>).
The command is accessed from the "Foundations" menu and then the player drag-selects walls they wish to demolish. Several [Workman (Entity)](Workmen (Entity)) will then come and dump the walls.
This process causes a great deal of [Garbage (Garbage)](Garbage (Garbage)) that can keep workers busy for quite some time if there isn't a nearby [Garbage (Room)](Garbage (Room)) site.
The material that remains after demolishing a wall depends on where the wall is:
- Indoor walls leave behind
ConcreteFloor - Exterior-facing walls often leave behind
ConcreteTile - Outdoor walls often leave behind the terrain material that was there before the wall was built
- The
PavingStonearoundPerimeterWallis not deleted, and thus leaves behind an ugly slug-trail either side of the wall
##See Also
- [
CancelJobs(Material)](CancelJobs (Material)) - [
ClearIndoorArea(Material)](ClearIndoorArea (Material)) - [
DemolishWalls(Material)](DemolishWalls (Material)) - [
RemoveTunnels(Material)](RemoveTunnels (Material)) - [
BrickWall(Material)](BrickWall (Material)) - [
ConcreteTile(Material)](ConcreteTile (Material)) - [
ConcreteWall(Material)](ConcreteWall (Material)) - [
PerimeterWall(Material)](PerimeterWall (Material)) - [
ConcreteFloor(Material)](ConcreteFloor (Material)) - [
ConcreteTile(Material)](ConcreteTile (Material)) - [
PavingStone(Material)](PavingStone (Material))

