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 Parts,
Author Message
dagger4k
Journeyman
*

Posts: 194
Likes Given: 1
Likes Received: 12 in 12 posts
Joined: Mar 2012
Reputation: 0



Post: #6
RE: House Parts,
Examples

House Deed
Code:
[itemdef 04200]
defname = i_deed_house_stone_plaster_small

id=i_deed
name = Deed to a small stone-and-plaster house

resources = 8 i_house_part
skillmake = 70.0 carpentry, t_carpentry

CATEGORY=Provisions - Deeds
SUBSECTION=House Deeds
DESCRIPTION=Small Stone House

on=@create
    more = i_multi_house_stone_plaster_small

House Part
Code:
[itemdef i_house_part]
defname=i_house_part
id=0ff4
Name=house part
resources = 300 i_board , 300 i_ingot_iron, 300 i_ingot_stone
skillmake = 75.0 carpentry, t_carpentry
weight = 1

on=@create
    type = t_ingot
    //color = 0835

If you do use this I suggest changing the ID to something that stacks, similar to what rattlehead said.

Skill Menu
Code:
[SKILLMENU sm_Craftable_House]
Craftable House

ON=i_house_part
MAKEITEM=i_house_part

ON=i_deed_house_stone_plaster_small <name> (<resmake>)
MAKEITEM=i_deed_house_stone_plaster_small
(This post was last modified: 09-12-2013 09:28 AM by dagger4k.)
09-12-2013 09:27 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
House Parts, - babazar - 09-08-2013, 12:54 AM
RE: House Parts, - Mordaunt - 09-08-2013, 03:13 AM
RE: House Parts, - Rattlehead - 09-08-2013, 07:22 AM
RE: House Parts, - babazar - 09-11-2013, 11:43 PM
RE: House Parts, - Rattlehead - 09-12-2013, 08:55 AM
RE: House Parts, - dagger4k - 09-12-2013 09:27 AM
RE: House Parts, - RanXerox - 09-12-2013, 10:10 AM
RE: House Parts, - babazar - 09-13-2013, 01:58 AM

Forum Jump:


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