Jump to content

Biodegradable Matter - Scripting Assistance?


FalynIndoril

Recommended Posts

If one could currently help with a scripting issue that I am facing, it would be appreciated, as I am but a novice modder.

 

I am trying to get items to disappear from my PC's Inventory after a certain amount of days (meat,hearts,bread,mead) to give them the oppression of 'spoiling'.

 

Here is the example of a draft script I have

 

 

 

begin rottingmatterscript01

Short NumDays
; Removes the
meat / heart / skin from the player after 1 day
if ( NumDays > 1 )

MessageBox, "This biodegradable matter has spoiled, and can no longer be used or consumed. You discard it from your Inventory."

player->RemoveItem, "ingred_rat_meat_01", 1

 

endif

End

 

 

 

Thank you, may the ALMSIVI guide you!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...