Skip to content

Commit 8900ef8

Browse files
committed
some updates to support master
1 parent cd9fd32 commit 8900ef8

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SystemHookScript syshook\closecustomhouse.ecl
1+
SystemHookScript syshook/closecustomhouse.ecl
22
{
33
CloseCustomHouse CloseCustomHouse
44
}

pkg/systems/customHousing/scripts/customeHouseDeed.src

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ include "include/objtype";
88
include ":gumps:gumps";
99
include ":gumps:gumps_ex";
1010
include "include/utility";
11-
//include "include/itemtypes";
12-
include ":customhousing:house";
13-
include "util/bank";
11+
include ":containers:storageAreas";
1412

1513
Const UOBJECT_BRASS_SIGN := 0x0bd2;
1614
Const UOBJECT_WOOD_SIGN := 0x0bd0;
@@ -147,8 +145,8 @@ function CreateHouseAndKeys (character, housetype, x, y, z, rlm)
147145
PrintTextAbovePrivate (character, "*Your backpack is full!*", character );
148146
return 0;
149147
endif
150-
151-
var bankbox := FindBankBox(character.acctname);
148+
var bank_region := CP_DEFAULT_AREA;
149+
var bankbox := CP_GetStorageContainerForMobile( character, bank_region, CP_CREATE );
152150
var bankkey := CreateItemInContainer (bankbox, UOBJ_GOLD_KEY);
153151
if (!bankkey)
154152
PrintTextAbovePrivate (character, "*Your bankbox is full!*", character );

pkg/systems/customHousing/signcontrol.src

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function BuildHouseLockdownArea (sign, housetype)
130130
homeinfo[3] := sign.y - 15;
131131
homeinfo[4] := sign.x + 8;
132132
homeinfo[5] := sign.y + 1;
133-
// 0x113ec: //foundation 7x7
133+
// 0x113ec: //foundation 7x7
134134
// homeinfo[2] := sign.x - 1;
135135
// homeinfo[3] := sign.y - 8;
136136
// homeinfo[4] := sign.x + 7;
@@ -151,7 +151,7 @@ function BuildHouseLockdownArea (sign, housetype)
151151
homeinfo[4] := sign.x + width;
152152
homeinfo[5] := sign.y;
153153
endif
154-
154+
155155
// //
156156
// homeinfo[2] := sign.x - ;
157157
// homeinfo[3] := sign.y - ;

pkg/systems/customHousing/syshook/closecustomhouse.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Const UOBJECT_WOOD_SIGN := 0x0bd0;
77
exported function CloseCustomHouse ( who, house)
88
if (who.concealed < 2)
99
who.concealed := 0;
10-
endif
10+
endif
1111
var components := GetObjProperty (house, "components");
1212
var lockid := 0;
1313
foreach compo in (components)

0 commit comments

Comments
 (0)