The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ageless Houses?
Author Message
Reflex
Journeyman
*

Posts: 130
Likes Given: 0
Likes Received: 2 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #5
RE: Ageless Houses?
Ah, ok.
Anyone else wondering.. Just set your house sign's timer to -1 and make sure your house.scp script has at least the ageless return

Code:
[Function HouseSys_GetHouseAge]
Local.MaxTime=<eval <DEF.scp.House_DecayTimer>*24*60*60>
If <TAG0.DEMOLITION_PENDING>
Return 1062497
Elseif <Eval (<Local.MaxTime>*99) / 100> < <Timer>
Return 1043010 //Like New
Elseif <Eval (<Local.MaxTime>*75) / 100> < <Timer>
Return 1043011 //Slightly
Elseif <Eval (<Local.MaxTime>*50) / 100> < <Timer>
Return 1043012 //Somewhat
Elseif <Eval (<Local.MaxTime>*25) / 100> < <Timer>
Return 1043013 //Fairly
Elseif <Eval (<Local.MaxTime>*4) / 100> < <Timer>
Return 1043014 //Greatly
Elseif <timer> == -1
RETURN 1043009 //Ageless
Else
Return 1043015 //Collapse
Endif
(This post was last modified: 04-30-2012 02:00 PM by Reflex.)
04-30-2012 01:56 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Ageless Houses? - Reflex - 04-29-2012, 11:03 PM
RE: Ageless Houses? - Shaklaban - 04-30-2012, 06:57 AM
RE: Ageless Houses? - Reflex - 04-30-2012, 10:54 AM
RE: Ageless Houses? - Shaklaban - 04-30-2012, 11:59 AM
RE: Ageless Houses? - Reflex - 04-30-2012 01:56 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)