Skip to content

Commit

Permalink
Added a new lore item.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKins committed Jan 26, 2020
1 parent 25946c6 commit 0d90704
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 1 deletion.
21 changes: 21 additions & 0 deletions metadoom-dev/actors/items/metaloreitems.zsc
Expand Up @@ -218,4 +218,25 @@ class LorePumpkin : MetaLoreItem
TNT1 A 0 A_GiveInventory ("MetaCodex_LorePumpkin");
stop;
}
}

class LoreCacoward : MetaLoreItem
{
Default
{
Inventory.PickupMessage "$GOTLOOTCACOWARD";
inventory.pickupsound "items/lootcacoward";
scale 0.25;
}

States
{
Spawn:
LORE D -1;
loop;
Pickup:
TNT1 A 0 A_GiveInventory ("ScoreItem", 6666);
TNT1 A 0 A_GiveInventory ("MetaCodex_LoreCacoward");
stop;
}
}
8 changes: 8 additions & 0 deletions metadoom-dev/codex/loot.cdx
Expand Up @@ -57,4 +57,12 @@ page "Other"
origin "The Nightmare Hellscape of Usenet (1993)";
description "A running joke spawned by Doom's pre-release hype, Smashing Pumpkins Into Small Piles of Putrid Debris was alleged to be a similar, more advanced FPS that just lacked that certain marketing je-ne-sais-quoi on account of having a name longer than some highways.\n\nId referenced this injoke with a suitably complex cheat code to enable No Clipping Mode, and an actual game under the name was eventually produced by future Growtopia co-creator Mike Hommel.\n\nThe moral of the story? Don't let your injokes grow too large, lest they become horrifying reality...";
}

entry "LoreCacoward"
{
itemToCheck "MetaCodex_LoreCacoward"
name "Cacoward";
origin "Doomworld (2004)";
description "A curious trophy, depicting a golden version of one of those weird head monsters you've been fighting.\n\nSupposedly these were given out to the most skilled and inventive of creators once upon a time... but this one appears to have ''2012 WINNER - REELISM'' engraved into it, which has caused historians and archeologists to severely doubt the official historical record.\n\nYou think you can see a hastily-sealed coin slot on the top of the head, suggesting that it might just be a repainted piggy bank...";
}
}
1 change: 1 addition & 0 deletions metadoom-dev/language.enu
Expand Up @@ -169,6 +169,7 @@ GOTLOOTFIG4 = "Picked up an oddly blurry figurine!";
GOTLOOTSKATE = "Picked up a pro skateboard!";
GOTLOOTHISSY = "Picked up an old plush toy!";
GOTLOOTPUMPKIN = "Picked up a fragile pumpkin!";
GOTLOOTCACOWARD = "Picked up a shiny trinket!";

// Weapons
GOTPISTOL = "You got the EMG Sidearm!";
Expand Down
1 change: 1 addition & 0 deletions metadoom-dev/sndinfo.txt
Expand Up @@ -52,6 +52,7 @@ items/lootfig getfig
items/lootskate getsk8
items/loothissy gethiss
items/lootpumpkin getpumpk
items/lootcacoward getcawa

// Exploding barrel
$random barrel/explode { barrel/explode1 barrel/explode2 barrel/explode3 }
Expand Down
Binary file added metadoom-dev/sounds/items/getcawa.ogg
Binary file not shown.
Binary file added metadoom-dev/sprites/items/lore/LORED0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion metadoom-dev/zscript/codex/metacodex_inventory.zsc
Expand Up @@ -81,4 +81,5 @@ Class MetaCodex_LootFigurine3 : MetaCodex_InvBase {}
Class MetaCodex_LootFigurine4 : MetaCodex_InvBase {}
Class MetaCodex_LoreSkateboard : MetaCodex_InvBase {}
Class MetaCodex_LoreHissy : MetaCodex_InvBase {}
Class MetaCodex_LorePumpkin : MetaCodex_InvBase {}
Class MetaCodex_LorePumpkin : MetaCodex_InvBase {}
Class MetaCodex_LoreCacoward : MetaCodex_InvBase {}

0 comments on commit 0d90704

Please sign in to comment.