mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Added "get_terrain_name" script function
Updated documents for the function. Minor edits to other code.
This commit is contained in:
@@ -936,6 +936,12 @@ sfall_funcX metarule functions
|
||||
`void sfall_func3("set_terrain_name", int x, int y, string name)`
|
||||
- Overrides the terrain type name for the sub-tile on the world map by the specified coordinates
|
||||
|
||||
----
|
||||
#### get_terrain_name
|
||||
`string sfall_func0("get_terrain_name")`\
|
||||
`string sfall_func2("get_terrain_name", int x, int y)`
|
||||
- Returns the terrain type name for the sub-tile on the world map by the specified coordinates, or by the player's current position if called without arguments
|
||||
|
||||
----
|
||||
#### get_window_attribute
|
||||
`int sfall_func1("get_window_attribute", int winType)`\
|
||||
|
||||
Reference in New Issue
Block a user