Skip to content

Commit 37623b3

Browse files
committed
Menu section count, changed element properties
Resolves #43, resolves #44, resolves #46
1 parent a5f2030 commit 37623b3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

library/elem.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
---|`elem.TYPE_GAS`
7575
---|`elem.TYPE_ENERGY`
7676
---|`elem.PROP_CONDUCTS`
77-
---|`elem.PROP_BLACK`
77+
---|`elem.PROP_PHOTPASS`
7878
---|`elem.PROP_NEUTPENETRATE`
7979
---|`elem.PROP_NEUTABSORB`
8080
---|`elem.PROP_NEUTPASS`
@@ -87,7 +87,6 @@
8787
---|`elem.PROP_LIFE_KILL_DEC`
8888
---|`elem.PROP_SPARKSETTLE`
8989
---|`elem.PROP_NOAMBHEAT`
90-
---|`elem.PROP_DRAWONCTYPE`
9190
---|`elem.PROP_NOCTYPEDRAW `
9291

9392
--TODO: Figure out if any of those are ints
@@ -291,10 +290,10 @@ elements.TYPE_SOLID = 4 -- Used in solids / misc elements.
291290
elements.TYPE_GAS = 8 -- Used in gases.
292291
elements.TYPE_ENERGY = 16 -- Used in energy particles.
293292

294-
---@deprecated ??? TODO: Make sure
293+
---@deprecated
295294
elements.PROP_DRAWONCTYPE = 0 -- Set its ctype to another element if the element is drawn upon it (like what CLNE does).
296295
elements.PROP_CONDUCTS = 32 -- Allows an element to automatically conduct SPRK, requires PROP_LIFE_DEC.
297-
elements.PROP_BLACK = 64 -- Elements with this property absorb photons of any color.
296+
elements.PROP_PHOTPASS = 64 -- Allow photons to pass through this element.
298297
elements.PROP_NEUTPENETRATE = 128 -- Elements can be displaced by neutrons (observe behavior of wood with neutrons to see).
299298
elements.PROP_NEUTABSORB = 256 -- Element will absorb neutrons.
300299
elements.PROP_NEUTPASS = 512 -- Element will allow neutrons to pass through it.
@@ -564,3 +563,5 @@ elements.SC_TOOL = 13
564563

565564
--#### Menu Sections<br>
566565
elements.SC_DECO = 15
566+
567+
elements.NUM_MENUSECTIONS = 16

0 commit comments

Comments
 (0)