-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathluaitems.xml
341 lines (329 loc) · 19.9 KB
/
luaitems.xml
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<?xml version="1.0" encoding="utf-8"?>
<Items>
<Item name="Lua Moon" identifier="luamoon" category="Weapon" maxstacksize="1"
interactthroughwalls="true" cargocontaineridentifier="metalcrate" Scale="0.1"
tags="smallitem,luarevolverammo" impactsoundtag="impact_metal_light">
<InventoryIcon texture="%ModDir%/Assets/lua.png" sourcerect="0,0,1200,1200" origin="0.5,0.5" />
<Sprite texture="%ModDir%/Assets/lua.png" sourcerect="0,0,1200,1200" depth="0.55" origin="0.5,0.5" />
<Body width="100" height="100" density="40" />
<Pickable slots="Any" msg="ItemMsgPickUpSelect" />
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
<Item name="Advanced Lua Device" identifier="advancedluadevice" category="Electrical"
tags="command" scale="0.6" impactsoundtag="impact_metal_light" isshootable="true"
damagedbyexplosions="true" explosiondamagemultiplier="0.2">
<Sprite texture="%ModDir%/Assets/luadevice.png" sourcerect="0,0,112,172" depth="0.7"
origin="0.5,0.5" />
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver"
hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center"
style="ConnectionPanel" />
<AlternativeLayout anchor="CenterRight" />
<StatusEffect type="OnFailure" target="Character" targetlimbs="LeftHand,RightHand">
<Sound file="Content/Sounds/Damage/Electrocution1.ogg" range="1000" />
<Explosion range="100.0" stun="0" force="5.0" flames="false" shockwave="false"
sparks="true" underwaterbubble="false" />
<Affliction identifier="stun" strength="5" />
<Affliction identifier="burn" strength="5" />
</StatusEffect>
<requireditem items="screwdriver" type="Equipped" />
<input name="input_1" displayname="connection.input_1" />
<input name="input_2" displayname="connection.input_2" />
<input name="output" displayname="connection.output" />
</ConnectionPanel>
<Body width="200" height="200" density="40" />
<Holdable selectkey="Select" pickkey="Use" slots="RightHand+LeftHand"
msg="ItemMsgDetachWrench" PickingTime="60.0" aimpos="35,-10" handle1="0,0"
attachable="true" attachedbydefault="true" aimable="true">
<requireditem identifier="wrench" type="Equipped" />
</Holdable>
</Item>
<Item name="Lua Device" identifier="luadevice" category="Electrical" tags="command" scale="0.6"
impactsoundtag="impact_metal_light" isshootable="true" damagedbyexplosions="true"
explosiondamagemultiplier="0.2">
<Sprite texture="%ModDir%/Assets/luadevice.png" sourcerect="0,0,112,172" depth="0.7"
origin="0.5,0.5" />
<ConnectionPanel selectkey="Action" canbeselected="true" msg="ItemMsgRewireScrewdriver"
hudpriority="10">
<GuiFrame relativesize="0.2,0.32" minsize="400,350" maxsize="480,420" anchor="Center"
style="ConnectionPanel" />
<AlternativeLayout anchor="CenterRight" />
<StatusEffect type="OnFailure" target="Character" targetlimbs="LeftHand,RightHand">
<Sound file="Content/Sounds/Damage/Electrocution1.ogg" range="1000" />
<Explosion range="100.0" stun="0" force="5.0" flames="false" shockwave="false"
sparks="true" underwaterbubble="false" />
<Affliction identifier="stun" strength="5" />
<Affliction identifier="burn" strength="5" />
</StatusEffect>
<requireditem items="screwdriver" type="Equipped" />
<input name="input" displayname="connection.input" />
<input name="output" displayname="connection.output" />
</ConnectionPanel>
<Body width="200" height="200" density="40" />
<Holdable selectkey="Select" pickkey="Use" slots="RightHand+LeftHand"
msg="ItemMsgDetachWrench" PickingTime="60.0" aimpos="35,-10" handle1="0,0"
attachable="true" attachedbydefault="true" aimable="true">
<requireditem identifier="wrench" type="Equipped" />
</Holdable>
<CustomInterface type="luacustom" CanBeSelected="true">
<GuiFrame relativesize="0.5,0.5" anchor="CenterLeft" pivot="CenterLeft" style="ItemUI" linkuitocomponent="ItemContainer" />
</CustomInterface>
</Item>
<Item name="Lua Revolver Round" identifier="luarevolverround" category="Weapon"
maxstacksize="12" interactthroughwalls="true" cargocontaineridentifier="metalcrate"
Scale="0.5" tags="smallitem,luarevolverammo" impactsoundtag="impact_metal_light">
<PreferredContainer primary="luarevolver" amount="6" spawnprobability="1" />
<PreferredContainer primary="armcab" amount="6" spawnprobability="1" />
<PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab" minamount="1"
maxamount="6" spawnprobability="0.2" />
<PreferredContainer secondary="wreckarmcab,abandonedarmcab" minamount="1" maxamount="3"
spawnprobability="0.25" />
<PreferredContainer secondary="secarmcab" />
<Price baseprice="30" minavailable="6">
<Price storeidentifier="merchantoutpost" multiplier="1.5" />
<Price storeidentifier="merchantcity" multiplier="1.25" minavailable="12" />
<Price storeidentifier="merchantresearch" multiplier="1.25" />
<Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="24" />
<Price storeidentifier="merchantmine" multiplier="1.25" minavailable="12" />
<Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="24" />
</Price>
<Fabricate suitablefabricators="fabricator" requiredtime="20" requiresrecipe="true"
amount="12">
<RequiredSkill identifier="weapons" level="30" />
<RequiredItem identifier="magnesium" amount="2" />
<RequiredItem identifier="lead" amount="2" />
<RequiredItem identifier="copper" />
</Fabricate>
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="704,384,64,64"
origin="0.5,0.5" />
<Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="191,290,21,7"
depth="0.55" origin="0.5,0.5" />
<Body width="29" height="10" density="40" />
<Pickable slots="Any" msg="ItemMsgPickUpSelect" />
<Projectile characterusable="false" hitscan="true" removeonhit="true">
<ParticleEmitter particle="tracerfirearm" particleamount="1" velocitymin="0"
velocitymax="0" colormultiplier="255,255,115,175" scalemultiplier="1,0.6" />
<Attack structuredamage="10" targetforce="10" itemdamage="20"
severlimbsprobability="0.2" armorpenetration="0.1">
<Affliction identifier="gunshotwound" strength="28" />
<Affliction identifier="bleeding" strength="25" />
<Affliction identifier="stun" strength="0.3" />
</Attack>
<StatusEffect type="OnImpact" target="UseTarget,Character">
<ParticleEmitter particle="impactfirearm" particleamount="1" velocitymin="0"
velocitymax="0" />
<LuaHook name="luaRevolverRound.onImpact" />
</StatusEffect>
<StatusEffect type="OnImpact" target="UseTarget">
<Conditional entitytype="eq Structure" />
<Conditional hastag="eq door" />
<ParticleEmitter particle="spark" copyentityangle="true" anglemin="-10"
anglemax="10" particleamount="5" velocitymin="-10" velocitymax="-200"
scalemin="0.5" scalemax="1" />
</StatusEffect>
</Projectile>
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
<Item name="Lua Revolver" identifier="luarevolver" category="Weapon"
cargocontaineridentifier="metalcrate"
tags="smallitem,weapon,gun,pistolitem,gunsmith,mountableweapon,zoom" Scale="0.5"
impactsoundtag="impact_metal_light">
<PreferredContainer secondary="outpostsecarmcab" amount="1" spawnprobability="0.5" />
<PreferredContainer secondary="wrecksecarmcab,abandonedsecarmcab" amount="1"
spawnprobability="0.25" />
<PreferredContainer primary="secarmcab" secondary="armcab,weaponholder" />
<Price baseprice="150">
<Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
<Price storeidentifier="merchantcity" multiplier="1.25" sold="false" minavailable="1" />
<Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
<Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="3" />
<Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
<Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="3" />
</Price>
<Deconstruct time="10">
<Item identifier="steel" />
<Item identifier="plastic" />
</Deconstruct>
<InventoryIcon texture="%ModDir%/Assets/luarevolver.png" sourcerect="0,0,75,41" origin="0.5,0.5" />
<Sprite texture="%ModDir%/Assets/luarevolver.png" sourcerect="0,0,75,41" origin="0.5,0.5"
depth="0.55" />
<Body width="72" height="40" density="50" />
<Holdable slots="Any,RightHand,LeftHand" controlpose="true" aimpos="70,5" handle1="-25,-7"
msg="ItemMsgPickUpSelect" />
<RangedWeapon barrelpos="29,11" spread="0" unskilledspread="2" combatPriority="70"
drawhudwhenequipped="true" crosshairscale="0.2">
<Crosshair texture="Content/Items/Weapons/Crosshairs.png" sourcerect="0,256,256,256" />
<CrosshairPointer texture="Content/Items/Weapons/Crosshairs.png"
sourcerect="256,256,256,256" />
<Sound file="Content/Items/Weapons/Revolver1.ogg" type="OnUse" range="3000"
selectionmode="Random" />
<Sound file="Content/Items/Weapons/Revolver2.ogg" type="OnUse" range="3000" />
<Sound file="Content/Items/Weapons/Revolver3.ogg" type="OnUse" range="3000" />
<ParticleEmitter particle="muzzleflash" particleamount="1" velocitymin="0"
velocitymax="0" />
<StatusEffect type="OnUse">
<Explosion range="150.0" force="1.5" shockwave="false" smoke="false" flames="false"
sparks="false" underwaterbubble="false" camerashake="6.0" />
</StatusEffect>
<StatusEffect type="OnUse" target="Character">
<LuaHook name="luaRevolver.onUse" />
</StatusEffect>
<RequiredItems items="luarevolverammo" type="Contained" msg="ItemMsgAmmoRequired" />
<RequiredSkill identifier="weapons" level="40" />
</RangedWeapon>
<ItemContainer capacity="1" maxstacksize="6" hideitems="true"
containedstateindicatorstyle="bullet">
<Containable items="luarevolverammo" />
</ItemContainer>
<aitarget sightrange="2000" soundrange="5000" fadeouttime="5" />
<Quality>
<QualityStat stattype="StrikingPowerMultiplier" value="0.1" />
</Quality>
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
<Item name="Lua Toolgun" identifier="luatoolgun" category="Weapon"
tags="smallitem,weapon,gun,pistolitem,gunsmith,mountableweapon" Scale="0.115"
impactsoundtag="impact_metal_light">
<Sprite texture="%ModDir%/Assets/toolgun.png" sourcerect="0,0,444,299" depth="0.55"
origin="0.5,0.5" />
<Body width="80" height="25" density="25" />
<Holdable slots="Any,RightHand" controlpose="false" aimpos="150,0" handle1="-160,-55"
holdangle="0" usehandrotationforholdangle="true" msg="ItemMsgPickUpSelect" />
<RangedWeapon barrelpos="45,0" spread="0" drawhudwhenequipped="true" crosshairscale="0.2">
<Crosshair texture="Content/Items/Weapons/Crosshairs.png" sourcerect="0,256,256,256" />
<CrosshairPointer texture="Content/Items/Weapons/Crosshairs.png"
sourcerect="256,256,256,256" />
<Sound file="%ModDir%/Assets/toolgun.ogg" type="OnUse" />
<StatusEffect type="OnUse">
<Explosion range="150.0" force="3" shockwave="false" smoke="false" flames="false"
flash="false" sparks="false" underwaterbubble="false" camerashake="6.0" />
</StatusEffect>
<StatusEffect type="OnSpawn" target="This" targetitemcomponent="ItemContainer">
<SpawnItem identifier="luatoolgunprojectile" spawnposition="ThisInventory" />
</StatusEffect>
<StatusEffect type="OnUse" target="This" targetitemcomponent="ItemContainer">
<SpawnItem identifier="luatoolgunprojectile" spawnposition="ThisInventory" />
</StatusEffect>
</RangedWeapon>
<ItemContainer hideitems="true" capacity="1" maxstacksize="1"
containedstateindicatorstyle="spear">
<Containable items="luatoolgunprojectile" />
</ItemContainer>
<CustomInterface canbeselected="false" drawhudwhenequipped="true" allowuioverlap="true">
<GuiFrame relativesize="0.13,0.13" anchor="CenterLeft" pivot="CenterLeft"
relativeoffset="0.01,0.001" style="ItemUI" linkuitocomponent="ItemContainer" />
<Button text="Teleport Mode">
<StatusEffect type="OnUse">
<LuaHook name="luaToolGun.teleportMode" />
</StatusEffect>
</Button>
<Button text="Impulse Mode">
<StatusEffect type="OnUse">
<LuaHook name="luaToolGun.impulseMode" />
</StatusEffect>
</Button>
<Button text="Delete Mode">
<StatusEffect type="OnUse">
<LuaHook name="luaToolGun.deleteMode" />
</StatusEffect>
</Button>
</CustomInterface>
</Item>
<Item identifier="luatoolgunprojectile" category="hidden" interactthroughwalls="true"
tags="mediumitem,harpoonammo" Scale="0.5" impactsoundtag="impact_metal_light"
hideinmenus="true" nonplayerteaminteractable="True">
<Sprite texture="Content/Characters/Fractalguardian/Fractalguardian.png"
sourcerect="395,609,117,40" depth="0.55" origin="0.3,0.5" />
<Body width="70" height="20" density="20" />
<Projectile characterusable="false" hitscan="true" removeonhit="true">
<ParticleEmitter particle="tracerfirearm" particleamount="1" velocitymin="0"
velocitymax="0" colormultiplier="0,0,255,255" scalemultiplier="1,0.6" />
<StatusEffect type="OnImpact" target="UseTarget,Character,Limb">
<ParticleEmitter particle="impactfirearm" particleamount="1" velocitymin="0"
velocitymax="0" />
<LuaHook name="luaToolGun.onImpact" />
</StatusEffect>
</Projectile>
<Upgrade gameversion="0.10.0.0" scale="0.5" />
</Item>
<Item name="Lua Armor" identifier="luaarmor" category="Equipment" tags="smallitem,clothing"
scale="0.35" cargocontaineridentifier="metalcrate" description=""
impactsoundtag="impact_soft">
<Upgrade gameversion="0.9.3.0" scale="0.35" />
<PreferredContainer primary="secarmcab" amount="3" notcampaign="true" />
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="960,256,64,64"
origin="0.5,0.5" />
<Sprite name="Security Vest Item" texture="Content/Items/Jobgear/Mechanic/safetyharness.png"
sourcerect="14,45,103,180" depth="0.6" origin="0.5,0.35" />
<Body width="85" height="90" density="25" />
<Wearable slots="Any,OuterClothes" msg="ItemMsgPickUpSelect">
<sprite name="Security Vest Wearable"
texture="Content/Items/Jobgear/Mechanic/safetyharness.png" limb="Torso"
hidelimb="false" inheritscale="true" scale="0.65" inheritorigin="false"
origin="0.5,0.5" inheritsourcerect="false" sourcerect="14,45,103,180" />
<damagemodifier afflictiontypes="bleeding" armorsector="0.0,360.0" damagemultiplier="1"
damagesound="LimbArmor" deflectprojectiles="true" />
<sprite name="shellshield" texture="Content/Items/CreatureLoot/CreatureLoot.png"
sourcerect="363,0,100,165" limb="Torso" depthlimb="head" hidelimb="false"
inherittexturescale="true" inheritorigin="false" inheritsourcerect="false"
origin="0.5,0.65" />
</Wearable>
</Item>
<Item name="Lua Grenade" identifier="luagrenade" category="Weapon" maxstacksize="8"
cargocontaineridentifier="explosivecrate"
tags="smallitem,weapon,explosive,demolitionsexpert" Scale="0.5"
impactsoundtag="impact_metal_light">
<PreferredContainer primary="secarmcab" minamount="1" maxamount="3" spawnprobability="0.75"
notcampaign="true" />
<PreferredContainer secondary="outpostsecarmcab" minamount="1" maxamount="3"
spawnprobability="0.5" />
<PreferredContainer secondary="wreckarmcab,abandonedarmcab" minamount="1" maxamount="3"
spawnprobability="0.2" />
<PreferredContainer secondary="armcab" />
<Upgrade gameversion="0.9.2.0" scale="0.5" />
<Price baseprice="125">
<Price storeidentifier="merchantoutpost" sold="false" multiplier="1.5" />
<Price storeidentifier="merchantcity" multiplier="1.25" minavailable="3" sold="false" />
<Price storeidentifier="merchantresearch" sold="false" multiplier="1.25" />
<Price storeidentifier="merchantmilitary" multiplier="0.9" minavailable="6" />
<Price storeidentifier="merchantmine" sold="false" multiplier="1.25" />
<Price storeidentifier="merchantarmory" multiplier="0.9" minavailable="6" />
</Price>
<Deconstruct time="10">
<Item identifier="iron" />
<Item identifier="phosphorus" mincondition="0.9" />
</Deconstruct>
<Fabricate suitablefabricators="fabricator" requiredtime="20">
<RequiredSkill identifier="weapons" level="30" />
<RequiredItem identifier="iron" />
<RequiredItem identifier="phosphorus" />
<RequiredItem identifier="flashpowder" />
</Fabricate>
<InventoryIcon texture="Content/Items/InventoryIconAtlas.png" sourcerect="384,0,64,64"
origin="0.5,0.5" />
<Sprite texture="Content/Items/Weapons/weapons_new.png" sourcerect="130,312,27,54"
depth="0.55" origin="0.5,0.5" />
<Body width="26" height="50" density="30" />
<ItemComponent characterusable="false">
<!-- statuseffect that explodes the grenade when used by something else than a character
(e.g. a detonator) -->
<StatusEffect type="OnUse" target="This" Condition="-100.0" disabledeltatime="true" />
<StatusEffect type="OnBroken" target="This">
<sound file="Content/Items/Weapons/StunGrenade.ogg" />
<Explosion range="750" force="1" flames="true">
<Affliction identifier="stun" strength="40" />
</Explosion>
<LuaHook name="luaGrenade" />
</StatusEffect>
</ItemComponent>
<Throwable slots="Any,RightHand,LeftHand" holdpos="0,0" handle1="0,0" throwforce="4.0"
msg="ItemMsgPickUpSelect">
<StatusEffect type="OnSecondaryUse" target="This" Condition="-100.0" delay="3.0"
disabledeltatime="true" checkconditionalalways="true" />
</Throwable>
<Quality>
<QualityStat stattype="ExplosionRadius" value="0.1" />
<QualityStat stattype="ExplosionDamage" value="0.1" />
</Quality>
</Item>
</Items>