Not sure exactly what problems you are having, you don't really give enough information. But I noticed your code is missing RETURN's which could be your problem. If you use a TRIGGER/TYPE for your custom house placement then you should add a
SRC.ACT.TYPE=# to the deed after
src.newitem=vendor_deed .
Try this:
Notice the
BOLD are where my changes/additions are.
ON=0 Get Another House Key
src.newitem copper_key
src.act.more=<src.targ.link>
src.act.attr=04
src.findlayer(30).morey=<src.act.weight> + <src.weight>
if <src.findlayer(30).morey> > (<src.str>*40)
src.act.p=<src.p>
src.sysmessage You put the <src.act.name> at your feet. It is too heavy..
sound 66
SRC.UPDATE
RETURN 1
else
src.act.bounce
SRC.UPDATE
RETURN 1
endif
ON=0 Redeed the House
if <src.targ.link.baseid>>0
src.newitem=vendor_deed
src.act.more <src.targ.link.baseid>
src.act.name deed to a <src.targ.link.name>
src.targ.link.remove
src.findlayer(30).morey=<src.act.weight> + <src.weight>
ELSE
SRC.SYSMESSAGE You cannot demolish a city house!
RETURN 1
ENDIF
if <src.findlayer(30).morey> > (<src.str>*40)
src.act.p=<src.p>
src.sysmessage You put the <src.act.name> at your feet. It is too heavy..
sound 66
SRC.UPDATE
RETURN 1
else
src.act.bounce
SRC.UPDATE
RETURN 1
endif
RETURN 1
ON=0 Nothing
return 1
P.S.: You should really try to be more organized with your scripting, it will make it much easier to edit or add things to it later on.
Regards,