Almost done.

This commit is contained in:
Kiri 2023-03-23 00:25:43 -07:00
parent 8079c70ebd
commit 8941380b68
5 changed files with 17 additions and 5 deletions

View File

@ -13,13 +13,14 @@ x Switching to mag manager goes to batteries screen
x Empty batteries disappear x Empty batteries disappear
x Add (or make sure) loadout code in loadout editor x Add (or make sure) loadout code in loadout editor
x Help screen x Help screen
x Pickup sprites for every angle
- Pickup sprites for every angle n - Spool of wire, a tool, and some electical tape
- Spool of wire, a tool, and some electical tape x Set bulk
- 1st-person sprites - 1st-person sprites
- Wire cutters and electrical tape - Wire cutters and electrical tape
- Pickup sound

BIN
sprites/jmpka0.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
sprites/kit.aseprite Normal file

Binary file not shown.

View File

@ -14,3 +14,9 @@ sprite JMPRD0, 49, 43 {
offset 24, 21 offset 24, 21
patch JMPRA0,0,0 { translation "112:120=96:111" } patch JMPRA0,0,0 { translation "112:120=96:111" }
} }
sprite JMPKA0, 48, 32 {
offset 24, 16
patch JMPKA0,0,0 { }
}

View File

@ -229,7 +229,7 @@ class JumperCablesUsable : HDWeapon
weapon.selectionorder 1014; weapon.selectionorder 1014;
scale 0.6; scale 0.6;
inventory.icon "DERPEX"; inventory.icon "JMPKA0";
inventory.pickupmessage "Picked up a wiring bypass kit."; inventory.pickupmessage "Picked up a wiring bypass kit.";
inventory.pickupsound "derp/crawl"; inventory.pickupsound "derp/crawl";
translation 0; translation 0;
@ -238,6 +238,11 @@ class JumperCablesUsable : HDWeapon
hdweapon.refid HDLD_KIRI_JUMPERCABLES; hdweapon.refid HDLD_KIRI_JUMPERCABLES;
} }
override double WeaponBulk()
{
return 7;
}
override bool AddSpareWeapon(actor newowner) override bool AddSpareWeapon(actor newowner)
{ {
return AddSpareWeaponRegular(newowner); return AddSpareWeaponRegular(newowner);
@ -253,7 +258,7 @@ class JumperCablesUsable : HDWeapon
{ {
spawn: spawn:
DERP A -1; JMPK A -1;
stop; stop;
select: select: