Template talk:Infobox terrain
Jump to navigation
Jump to search
Terrain property stuff
- Currently there as the settings:
- "Can be Paved". With used info "Yes" and "No"
- "Can be Plowed". With used info "Yes" and "No"
- General issue: Its not clear/stated in the infobox that this is related to direct paving of the given terrain.
Bypassing that relation. A third "Can be Paved" state makes sense. "Yes (Indirectly)". Which would turn the meaning of "No" into a definite never.- Some additional teraforming prop perhaps ...
- ...
- General look at terrain types:
| Terrain | Class | Speed | Plow | Pave | Wood | Grass | Dirt | Dig | Notes |
|---|---|---|---|---|---|---|---|---|---|
| (grass-biomes) | GrassLand | Sprint | Y | Y | Y | Y | Y | Y (soil/worm) | |
| (Forest-biomes) | Forest | Run | Y | N | N | N | N | Y (soil/worm) | |
| (Swamp-biomes) | SwampLand | Walk | N | N | N | N | N | N | Terraforming impervious terrain/tile. |
| (Shallows F/S) | Shallow | Walk | N | N | N | N | N | Y (ballClay) | Terraforming impervious terrain/tile. |
| Mudflat | (mudflat) | Sprint | N | Y | Y | Y | Y | Y (acreClay) | Can be change, but not back to mudflat type. |
| Beach | (solid) | Sprint | N | N | N | N | N | Y (sand/...) | Terraforming impervious terrain/tile. (Dig)No tile elevation change. |
| Mountain | (solid/rocky) | Sprint | N | Y | Y | N | N | Paxe(Stone?) | |
| Mountain Snow | (solid) | Sprint | N | Y | Y | N | N | Y(Snow) | (Dig)No tile elevation change. |
| Sand Cliff | (solid/rocky) | Sprint | N | Y | Y | N | N | Paxe(Stone?) | |
| (Cave-biomes) | (solid) | Sprint | N | Y | Y | N | N | N | (Dig:paved:any) All revert back to plain cave ground. |
- --.MvGulik. 11:02, 6 May 2023 (UTC)
Terrain type parameter
Preliminary wip.
Parameter: "terrain_type"
Potential values: forest, grass/grassland/..., water(fresh/ocean)), sand, rock/mountain, snow(high mountain), ...
... Mudflat, dirt(not used to fill larger areas, wild life trails, default junk terrain)
General terrain properties: speed(1,2,3,4), plow(Y/N), dig(+leveling), dig(resource only)(beach, mountain, ...)
-- General SMW prop issue: Could save them, but that data only becomes SMW-calleble after the page is saved. (ie: calls on local input should not be used in infobox. + preview mode, also needs additional page refresh to show up.)
-- default terrain-type properties (speed/plow/...) are related to terrain type. ...
-- option 1) ditch related default terrain properties. (no way to set or overwrite them when needed. (is overwrite needed ? for some: yes)
-- option 2) ignore specified default terrain properties if terrain-type is used. (no way to overwrite them when needed. (is overwrite needed ? for some: yes)
-- option 3) ... see about supporting both. terrain-type initially sets them. after which specified terrain property input overwrite them.
-- -- Can only edit target infobox entries only ones. so need to know in advance which input to use. ...
... add terrain-type check at each terrain property input check (with default fallback value) ...
... in case of no specific default terrain properties input, ie only terrain-type input ...
IBox-section(plow):
[if(plow)
|T:"use(plow)"
|F:
[if("terrain_type")
|T:check("terrain_type")
default(plow)
|F:Unknown
]
]