SphereCommunity
House Parts, - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Requests (/Forum-Script-Requests)
+--- Thread: House Parts, (/Thread-House-Parts)



House Parts, - babazar - 09-08-2013 12:54 AM

i want to work on making a house crafting script, and ive seen on a few shard sites that have a similar system and they use house parts? Does any one know what these house parts are? where you could get them from etc.. just so i can work on something, i have thinking of using stone mining and logging, x amount of stone + x amount of log = 1 house part? ...

So does any one know what these house parts are or how a could have an item that could represent a house part...


RE: House Parts, - Mordaunt - 09-08-2013 03:13 AM

Are you referring to the custom house system?


RE: House Parts, - Rattlehead - 09-08-2013 07:22 AM

no, hes talking about having an item (a house part) be used to craft house deeds, and you would have to craft the house parts too

x amount of house parts == w/e deed to a house

bigger houses require more house parts than smaller ones, etc etc

i actually have scripted my own house part system based on the original TDS house system (when deklar was the owner i was actually on staff for a bit, me an GM Ivel built the first custom map back then) its basically like any other crafted object.

mine is based on tinkering and carpentry with iron and logs as resources for the parts, this is actually the easiest system to script, as like i said before, its basically like any other crafted object, script the house part item, give it resources, put it on the appropriate skillmenu, put resources on the deeds u wish to be crafted - viola!


RE: House Parts, - babazar - 09-11-2013 11:43 PM

yeh, What item did u use for the House Part? thats the only bit am lost what to make my house item look like lol


RE: House Parts, - Rattlehead - 09-12-2013 08:55 AM

i made a new item, with a boards ID, and colored it red.

but u could use just about anything, i choose boards for 2 reason, 1) cus back in the day, thats what they used, and 2) cus boards stack Wink


RE: House Parts, - dagger4k - 09-12-2013 09:27 AM

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



RE: House Parts, - RanXerox - 09-12-2013 10:10 AM

[itemdef i_house_part]
defname=i_house_part

That is redundant.. you don't need to give it the same name twice... delete the row that says defname=i_house_part


RE: House Parts, - babazar - 09-13-2013 01:58 AM

Ty Big Grin all work on this in the comming weeks,