Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Yeah, you can make a .mod.gml file in your DW mod's folder.

You can push your own status effects like this:

#define init
var statuses = mod_variable_get("mod", "dungeonobjects", "statuses");
var mystatus = {
    name: "DUMMY",
    displayname: "Dummy",
    sprt: sprRad,
    color: make_color_rgb(252, 184, 0),
    desc: "This status effect does nothing",
    sound: sndClick
};
statuses.push(mystatus);
mod_variable_set("mod", "dungeonobjects", "statuses", statuses);

Chests and pickups can also be created (the example below will make you spawn a weapon chest with the floor 3 items when pressing B):

#define step
with Player {
    if (button_pressed(index, "horn")) {
        // chest_create(_x, _y, _floor)
        mod_script_call("mod", "dungeonobjects", "chest_create", mouse_x[index], mouse_y[index], 3);
    }
}

You can check the dungeonobjects file for all _create functions