forked from eupedrocecel/rsg-hotel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.lua
146 lines (139 loc) · 4.88 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
Config = {}
Config.Debug = false
-- settings
Config.BillingCycle = 1 -- will remove credit every x hour/s
Config.RentPerCycle = 1 -- $ amount of rent added per cycle
Config.CreditWarning = 5 -- 5 x Config.RentPerCycle amount : warning will trigger when < : example 5 x 1 = 5 so telegram will trigger on 4 hours
Config.StartCredit = 10 -- $ amount of credit added when renting room
Config.StorageMaxWeight = 4000000
Config.StorageMaxSlots = 48
Config.PurgeStorage = false -- purge hotel inventory when the hotel is taken back by not paying taxes (disabled by default)
-- room service
Config.MiniBar = {
[1] = { name = "bread", price = 0, amount = 2, info = {}, type = "item", slot = 1, },
[2] = { name = "water", price = 0, amount = 2, info = {}, type = "item", slot = 2, },
[3] = { name = "beer", price = 0, amount = 2, info = {}, type = "item", slot = 3, },
[4] = { name = "coffee", price = 0, amount = 2, info = {}, type = "item", slot = 4, },
[5] = { name = "stew", price = 0, amount = 2, info = {}, type = "item", slot = 5, },
[6] = { name = "cooked_meat", price = 0, amount = 2, info = {}, type = "item", slot = 6, },
[7] = { name = "cooked_fish", price = 0, amount = 2, info = {}, type = "item", slot = 7, },
[8] = { name = "cigar", price = 0, amount = 2, info = {}, type = "item", slot = 8, },
}
-- blip settings
Config.Blip = {
blipName = 'Hotel', -- Config.Blip.blipName
blipSprite = 'blip_hotel_bed', -- Config.Blip.blipSprite
blipScale = 0.2 -- Config.Blip.blipScale
}
-- prompt locations
Config.HotelLocations = {
{ -- valentine
name = 'Valentine Hotel',
prompt = 'valhotel',
location = 'valentine',
coords = vector3(-325.7658, 774.46496, 117.45713),
showblip = true
},
{ -- strawberry
name = 'Strawberry Hotel',
prompt = 'strawberryhotel',
location = 'strawberry',
coords = vector3(-1817.56, -370.8123, 163.29635),
showblip = true
},
{ -- rhodes
name = 'Rhodes Hotel',
prompt = 'rhodeshotel',
location = 'rhodes',
coords = vector3(1339.4562, -1377.151, 80.48069),
showblip = true
},
{ -- stdenis
name = 'Saint Denis Hotel',
prompt = 'stdenishotel',
location = 'stdenis',
coords = vector3(2637.968, -1227.239, 53.380374),
showblip = true
},
{ -- blackwater
name = 'Blackwater Hotel',
prompt = 'blackwaterhotel',
location = 'blackwater',
coords = vector3(-819.1097, -1316.132, 43.678932),
showblip = true
},
{ -- tumbleweed
name = 'Tumbleweed Hotel',
prompt = 'tumbleweedhotel',
location = 'tumbleweed',
coords = vector3(-5511.62, -2974.64, 2.22),
showblip = true
},
{ -- annesburg
name = 'Annesburg Hotel',
prompt = 'annesburghotel',
location = 'annesburg',
coords = vector3(2947.66, 1332.55, 44.46),
showblip = true
},
}
Config.HotelRoom = {
{ -- valentine
name = 'Valentine Hotel Room',
prompt = 'valhotelroom',
location = 'valentine',
coords = vector3(-323.935, 767.02294, 121.6327),
},
{ -- strawberry
name = 'Strawberry Hotel Room',
prompt = 'strawberryhotelroom',
location = 'strawberry',
coords = vector3(-1813.394, -368.9348, 166.49964),
},
{ -- rhodes
name = 'Rhodes Hotel Room',
prompt = 'rhodeshotelroom',
location = 'rhodes',
coords = vector3(1331.4257, -1371.862, 80.490127),
},
{ -- stdenis
name = 'Saint Denis Hotel Room',
prompt = 'stdenishotelroom',
location = 'stdenis',
coords = vector3(2637.925, -1222.1, 59.600513),
},
{ -- blackwater
name = 'Blackwater Hotel Room',
prompt = 'blackwaterhotelroom',
location = 'blackwater',
coords = vector3(-820.12, -1324.15, 47.97)
},
{ -- tumbleweed
name = 'Tumbleweed Hotel Room',
prompt = 'tumbleweedhotelroom',
location = 'tumbleweed',
coords = vector3(-5513.07, -2971.57, 2.23)
},
{ -- annesburg
name = 'Annesburg Hotel Room',
prompt = 'annesburghotelroom',
location = 'annesburg',
coords = vector3(2946.09, 1330.59, 44.46)
},
}
Config.HotelDoors = {
238680582, -- valentine
3765902977, -- valentine
3049177115, -- valentine
1407130373, -- strawberry
1654175864, -- strawberry
2046695029, -- rhodes
1555588463, -- stdenis
2693793043, -- stdenis
2999855503, -- stdenis
1275780106, -- stdenis
3461406868, -- stdenis
254520182, --blackwater
2959320055, -- tumbleweed
1335986638, -- annesburg
}