Canvas: Difference between revisions

97 bytes added ,  15:46, 22 June 2022
m
additional reference
No edit summary
m (additional reference)
Line 29: Line 29:


== Village Canvas ==
== Village Canvas ==
Procedurally generated villages can contain {{name}} walls that are made out of random creatures. Specifically, as part of the procedural generation process for the village zone, the game first removes any creatures that are currently in the zone before it begins generating the village in that zone. Then, if the village contains canvas walls, it will choose up to two creatures from those creatures that previously inhabited the zone, and use those creatures to generate a description for the village's canvas walls. If the zone did not contain any creatures, the village's canvas walls will instead be made from a random legendary creature.{{Code Reference|namespace=XRL.World.ZoneBuilders|class=VillageBase|method=getAVillageCanvas|name=getAVillageCanvas}}
Procedurally generated villages can contain {{name}} walls that are made out of random creatures. Specifically, as part of the procedural generation process for the village zone, the game first removes any creatures that are currently in the zone before it begins generating the village in that zone. Then, if the village contains canvas walls, it will choose up to two creatures from those creatures that previously inhabited the zone, and use those creatures to generate a description for the village's canvas walls. If the zone did not contain any creatures, the village's canvas walls will instead be made from a random legendary creature.{{Code Reference|namespace=XRL.World.ZoneBuilders|class=VillageBase|method=getAVillageCanvas|name=getAVillageCanvas}}{{Code Reference|namespace=XRL.World.ZoneBuilders|class=VillageBase|method=getARegionalCreature}}


Every village has a 1-in-13 chance to have this type of canvas used as its primary structural material for village buildings.{{Code Reference|namespace=XRL.World.ZoneBuilders|class=VillageBase|method=getAVillageWall}}{{XML Reference|pop|Village_VillageWallStyle_*Default}} Certain villages have an additional chance to generate tent-like buildings made of this sort of canvas even if canvas isn't the village's primary structural material. For example, canvas tents will commonly appear in any {{favilink|salt dunes}} villages.{{XML Reference|pop|Villages_BuildingStyle_*Default}}{{XML Reference|pop|Villages_BuildingStyle_Saltdunes}}{{Code Reference|namespace=XRL.World.ZoneBuilders|class=VillageBase|method=FabricateTent}}
Every village has a 1-in-13 chance to have this type of canvas used as its primary structural material for village buildings.{{Code Reference|namespace=XRL.World.ZoneBuilders|class=VillageBase|method=getAVillageWall}}{{XML Reference|pop|Village_VillageWallStyle_*Default}} Certain villages have an additional chance to generate tent-like buildings made of this sort of canvas even if canvas isn't the village's primary structural material. For example, canvas tents will commonly appear in any {{favilink|salt dunes}} villages.{{XML Reference|pop|Villages_BuildingStyle_*Default}}{{XML Reference|pop|Villages_BuildingStyle_Saltdunes}}{{Code Reference|namespace=XRL.World.ZoneBuilders|class=VillageBase|method=FabricateTent}}