Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upExposing id of `om_terrain`/`overmap_special` to LUA #21738
Comments
Night-Pryanik
added
Mapgen
<Question>
labels
Aug 28, 2017
This comment has been minimized.
This comment has been minimized.
|
Looking through the source code of print ("degrading:".._G.tertype.." in turn:"..tostring(_G.turn))
game.add_msg ("degrading:".._G.tertype.." in turn:"..tostring(_G.turn))It will be also possible to get a rotation of the building as |
Night-Pryanik
added
the
Lua
label
Sep 25, 2017
ZhilkinSerg
added
the
(P4 - Low)
label
Apr 2, 2018
ZhilkinSerg
closed this
Apr 3, 2018
ZhilkinSerg
added this to Done
in Mapgen and overmapgen improvements
Apr 19, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

ZhilkinSerg commentedAug 28, 2017
•
edited by Leland
Does someone know how to expose id/name of
om_terrain/overmap_specialto LUA?There are following attributes in overmap table:
Cataclysm-DDA/lua/class_definitions.lua
Lines 1860 to 1872 in 59fdf32
Which attribute and/or function should be added to
class_definitions.lua?Edit by @Leland: moved code to embed