Added "get_terrain_name" script function

Updated documents for the function.
Minor edits to other code.
This commit is contained in:
NovaRain
2022-06-14 21:04:51 +08:00
parent 7015db2414
commit 85e5da660b
15 changed files with 192 additions and 135 deletions
+5
View File
@@ -497,6 +497,11 @@
- name: set_terrain_name
detail: void sfall_func3("set_terrain_name", int x, int y, string name)
doc: Overrides the terrain type name for the sub-tile on the world map by the specified coordinates.
macro: sfall.h
- name: get_terrain_name
detail: string sfall_func2("get_terrain_name", int x, int y)
doc: 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.
macro: sfall.h
- name: set_town_title
detail: void sfall_func2("set_town_title", int areaID, string title)
doc: |