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:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HOuse build system
Author Message
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #1
HOuse build system
Hello

my house system is modified to cost resources instead gold.

I need a way to check all the "house parts" one by one and get the resources they cost. (serv.itemdef.<itemid>resources>)
How can i do it?

is there a trigget for the moment u put a house part? or a way to do it just ebfore commiet?

ty
01-14-2016 03:56 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #2
RE: HOuse build system
http://wiki.sphere.torfo.org/index.php/@...signCommit

if u want to check it from somewhere else just tag it to the multi and check from there.
(This post was last modified: 01-14-2016 05:28 AM by azmanomer.)
01-14-2016 05:27 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes azmanomer's post
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #3
RE: HOuse build system
//Will this quick script point to each component needed resources?
//basement is included on this? also stairs?

on=@housedesigncommit
FOR 1 <argn2>
<serv.itemedef.<argo.DESIGN.<local._for>.id>.resources>>
ENDFOR

Is there a way to sum resource lists???? eg: consume=<resourcelist>+<resourcelist> (would this work? got to check..
or do i have to do it by my self?

anyone is interested in this script?
01-14-2016 05:57 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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