Skip to content

Instantly share code, notes, and snippets.

View madame-rachelle's full-sized avatar

Rachael Alexanderson madame-rachelle

View GitHub Profile
@madame-rachelle
madame-rachelle / GZDoom_HoN_UDMF.cfg
Created September 21, 2024 02:48
This file goes in the "Configurations" subfolder of your Ultimate Doom Builder installation
/*************************************************************\
Doom Builder 2 Game Configuration for ZDoom-compatible port
\*************************************************************/
// This is required to prevent accidental use of a different configuration
type = "Doom Builder 2 Game Configuration";
// This is the title to show for this game
game = "GZDoom: Hands of Necromancy (UDMF)";
@madame-rachelle
madame-rachelle / Wear me to unpack.lsl
Created July 9, 2020 19:51
Wear me to unpack.lsl
// when the prim is touched, the script checks all other inventory items whether or not they're copiable
// copiable items are added to a list, if the list is not empty when all items have been checked
// the prim gives them to the touching avatar within a single folder
unpack(key target)
{
string thisScript = llGetScriptName();
list inventoryItems;
integer inventoryNumber = llGetInventoryNumber(INVENTORY_ALL);
default
{
state_entry()
{
llSetLinkPrimitiveParamsFast(LINK_ROOT, [PRIM_PHYSICS, TRUE]);
}
on_rez(integer param)
{
llResetScript();
}