Scrifen -- Hafen scripting API

Forum for alternative clients, mods & discussions on the same.
User avatar
windmaker
Posts: 1855
Joined: Thu Mar 29, 2012 7:08 am
Location: in the forum where some mods are fags.

Re: Scrifen -- Hafen scripting API

Post by windmaker »

Add an method to turn off the renderization. :)
Image #swag
User avatar
jorb
Posts: 18715
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: Scrifen -- Hafen scripting API

Post by jorb »

windmaker wrote:Add an method to turn off the renderization. :)
QQ
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."

-- Hieromonk Seraphim Rose
User avatar
windmaker
Posts: 1855
Joined: Thu Mar 29, 2012 7:08 am
Location: in the forum where some mods are fags.

Re: Scrifen -- Hafen scripting API

Post by windmaker »

bcs the art of the game is 2much creepy 4 me.
Image #swag
Thedrah
Posts: 943
Joined: Fri Apr 08, 2011 2:20 am
Location: behind you

Re: Scrifen -- Hafen scripting API

Post by Thedrah »

jorb wrote: QQ
i love you jorb.
amber has a way to limit fps to 1 when hnh is in the background

is there a way to have it check what level a crop is at? i prefer to harvest carrots at the seed stage out of ease for buckets
although i have yet to finish my first auto something something
  ▲
▲ ▲
User avatar
b0r3d0m
Posts: 95
Joined: Sun Sep 13, 2015 2:39 pm

Re: Scrifen -- Hafen scripting API

Post by b0r3d0m »

Thedrah wrote:is there a way to have it check what level a crop is at?
Yep, see the `getGrowthStage` function.
User avatar
Kuczmik
Posts: 4
Joined: Tue Apr 26, 2016 3:20 pm

Re: Scrifen -- Hafen scripting API

Post by Kuczmik »

How can I read objects ID in game?
User avatar
windmaker
Posts: 1855
Joined: Thu Mar 29, 2012 7:08 am
Location: in the forum where some mods are fags.

Re: Scrifen -- Hafen scripting API

Post by windmaker »

Kuczmik wrote:How can I read objects ID in game?
object.id

just the id property.
Image #swag
User avatar
b0r3d0m
Posts: 95
Joined: Sun Sep 13, 2015 2:39 pm

Re: Scrifen -- Hafen scripting API

Post by b0r3d0m »

Kuczmik wrote:How can I read objects ID in game?
You can use `get*MapObjects*` functions and check the `id` property in the resulting array.

Note that IDs can change over time.
User avatar
b0r3d0m
Posts: 95
Joined: Sun Sep 13, 2015 2:39 pm

Re: Scrifen -- Hafen scripting API

Post by b0r3d0m »

windmaker wrote:Add an method to turn off the renderization. :)
Do you have any problems with setting background FPS to 1?
User avatar
lacucaracha
Posts: 171
Joined: Thu Dec 05, 2013 4:50 pm

Re: Scrifen -- Hafen scripting API

Post by lacucaracha »

b0r3d0m wrote:
windmaker wrote:Add an method to turn off the renderization. :)
Do you have any problems with setting background FPS to 1?
Where can i find this option? Searched everywhere, but it didnt find it :(

Return to “The Wizards' Tower”