Jump to content

Which file or files should I look?


blackteapie

Recommended Posts

If I want to make a new pillar lamp that not use battery as fuel.

I have checked ISWorldObjectContextMenu

and ISLightSource. But I didn't find anything mentioned about using battery specifically for fueling the pillar lamp. They only said about fuel the light source.

Link to comment
Share on other sites

Check ProjectZomboid\media\lua\client\BuildingObjects\ISUI\ISBuildMenu.lua:

 

Line 362: ISBuildMenu.onPillarLamp = function(worldobjects, square, sprite, player)

...

Line 435: ISBuildMenu.onWoodenPillar = function(worldobjects, player)

...
etc.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...