Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=============== CUSTOM [!]ACTION ZOMBIE ROOM CONFIGURATION ==================#
- #FOR HELP AND MORE INFORMATION GO TO https://wiki.kag2d.com/wiki/Workshop_Modding
- #=============== ROOM SPRITE AND SOUNDS ===============#
- $sprite_factory = room_sprite
- $sprite_texture = Entities/Rooms/Sprites/EmptyRoom.png
- s32_sprite_frame_width = 24
- s32_sprite_frame_height = 24
- $sprite_sound_death_hit =
- $sprite_sound_flesh_hit = Sounds/pick_wall?.ogg
- $sprite_sound_die = Sounds/destroy_wall.ogg
- $sprite_sound_spawn = Entities/Rooms/Sounds/ConstructShort.ogg
- $sprite_sound_gib = Entities/Rooms/Sounds/DestroyRoom.ogg
- $sprite_sound_emit =
- #=============== ROOM GIBS ===============#
- $sprite_gibs_start = *start*
- $gib_type = static_particle
- $gib_file = Entities/Rooms/Sprites/RoomGibs.png
- u8_gib_count = 9 #number of gibs
- u8_gib_style = 0 #column
- u8_frame_width = 8;
- u8_frame_height = 8;
- @u8_gib_frame = 1; 2; 3; 4; 5; 6; 7; #row
- $gib_collide_sound = Sounds/rock_hit?.ogg
- f32_gib_mass = 2.5
- u8_gib_emit = 255 #nothing
- f32_velocity = 12.0
- f32_offset_x = 0.0
- f32_offset_y = 0.0
- $sprite_gibs_end = *end*
- f32_blood_multiplier = 8.0
- clr_blood_color = 255; 50; 40; 30
- $sprite_animation_start = *start*
- # default
- $sprite_animation_default_name = default
- u16_sprite_animation_default_time = 1
- u8_sprite_animation_default_loop = 0
- @u16_sprite_animation_default_frames = 0;
- $sprite_animation_end = *end*
- #=============== LIGHT SHONE FROM QUARTERS (NO YOU CANNOT MAKE OTHER ROOMS GLOW) ===============#
- f32_light_radius = 50.0
- clr_light_color = 255; 255; 240; 171
- 1_light_default_on = 1
- no_shadowing=0
- # room
- $sprite_sound_build = Entities/Rooms/Sounds/Construct.ogg
- #=============== ROOM BALL PARAMETERS (PHYSICAL PROPERTIES AND BEHAVIOURS) ===============#
- $ball_factory = room_ball
- f32_ball_width = 24.0
- f32_ball_height = 24.0
- f32_ball_radius = 12.0
- f32_ball_max_upspeed = 0.0
- f32_ball_max_fallspeed = 0.0
- f32_ball_max_airspeed = 0.0
- f32_ball_max_groundspeed = 0.0
- f32_ball_max_actionspeed = 0.0
- f32_ball_gravity = 0.0
- f32_ball_ground_slide = 0.0
- f32_ball_wall_slide = 0.0
- f32_ball_ladder_slide = 0.0
- f32_ball_ground_bounce = 0.0
- f32_ball_wall_bounce = 0.0
- 1_ball_opens_doors = 0
- 1_ball_opens_bridges = 0
- f32_ball_hit_momentum = 0.0
- #=============== UNUSED ===============#
- $movement_factory =
- $weapon_factory =
- $brain_factory =
- $attachment_factory =
- #=============== DEFAULT ROOM PROPERTIES ===============#
- $name =
- f32_health = 6.0
- f32 gib_health = -2.5
- $help_text = Hold $KEY7$ and\nselect workshop\nto build
- u8_default_room = 0
- #=============== ROOM SYNTAX ===============#
- # room syntax - room name; room level (0 menu - 1... upgrade); room sprite; room help text; room items/functions, item2, item3 ...; costs , , , (g gold, s stone, w wood, c coins, l level, u upgrades_from, r requires_roomname- none) ...
- #=============== ROOM ARRAY ===============#
- @$rooms =#=============== BASE ROOMS (AVAILABLE IN MAIN WHEEL) =================#
- #[BOOKSHELF] (SEE BELOW)
- #[ALCHEMY STAND] (SEE BELOW)
- #[SMELTER] (SEE BELOW)
- #[GUILDS] (SEE BELOW)
- #[WEAPONS] (SEE BELOW)
- #=============== LIBRARIES ==================#
- BOOKSHELF; Mods/Action/Zambehs/Bookshelf.png; Knowledge of the Wise; upgrade LIBRARY; w100;
- LIBRARY; Entities/Rooms/Sprites/Library.png; Knowledge of the Ancients; upgrade ENCHANTED LIBRARY; uBOOKSHELF;
- ENCHANTED LIBRARY; Mods/Action/Zambehs/Enchanted_Library.png; Knowledge of the All-Knowing; -; uLIBRARY, rALCHEMY STAND;
- #=============== ALCHEMY STANDS ==================#
- ALCHEMY STAND; Mods/Action/Zambehs/Alchemy_table.png; Make that which glows; woodgold, stonegold, upgrade ENCHANTED ALCHEMY TABLE; w50, s50;
- ENCHANTED ALCHEMY TABLE; Mods/Action/Zambehs/Alchemy_table_t2.png; The Craft of the Ancients; woodgolde, stonegolde; uALCHEMY STAND, rLIBRARY;
- #=============== LANTERN SHOPS ==================#
- SMELTER; Entities/Rooms/Sprites/Smelter.png; Warm up,\nIt's gonna be a long night; lantern, upgrade MECHANICS WORKSHOP; w50, s100;
- MECHANICS WORKSHOP; Entities/Rooms/Sprites/MechanicShop.png; Craft Items of Use; lantern, blantern, goldenlight; uSMELTER;
- #=============== HEALING ROOMS ==================#
- NURSERY; Entities/Rooms/Sprites/Nursery.png; Medicinal Herbs; heal, upgrade QUARTERS; w100, s30, rBOOKSHELF;
- QUARTERS; Entities/Rooms/Sprites/Quarters.png; Rest Here a While; heal; uNURSERY, rLIBRARY, rALCHEMY STAND;
- #=============== TEAM SWITCHING ==================#
- GUILDS; Entities/Rooms/Sprites/EmptyRoom.png; Requires Library; upgrade BUILDER'S GUILD, upgrade ARCHER'S GUILD, upgrade KNIGHT'S GUILD, upgrade ENGINEER'S GUILD, upgrade MARKSMAN'S GUILD, upgrade WARRIOR'S GUILD; w50, rBOOKSHELF;
- BUILDER'S GUILD; Entities/Rooms/Sprites/SmithShop.png; And My Axe!; class 0; uGUILDS, rLIBRARY;
- KNIGHT'S GUILD; Entities/Rooms/Sprites/Armoury.png; Unsheath your Sword!; class 1; uGUILDS, rLIBRARY;
- ARCHER'S GUILD; Entities/Rooms/Sprites/ArcheryRange.png; Notch Arrows!; class 2; uGUILDS, rLIBRARY;
- #ENGINEER'S GUILD; Entities/Rooms/Sprites/Doorway.png; May the Work of your Hands\nBe Blessed; class 3; uGUILDS, rENCHANTED LIBRARY;
- #MARKSMAN'S GUILD; Mods/Action/Zambehs/Unholy_Monument.png; Your Missiles are Guided\nand Fly True; class 5; uGUILDS, rENCHANTED LIBRARY;
- #WARRIOR'S GUILD; Mods/Action/Zambehs/Holy_Monument.png; Light from Above\nShines Upon You; class 4; uGUILDS, rENCHANTED LIBRARY;
- #=============== WEAPON ROOMS ==================#
- WEAPONS; Entities/Rooms/Sprites/EmptyRoom.png; Choose Carefully\nRequires Bookshelf; upgrade BOMB WORKSHOP, upgrade ARROW WORKSHOP, upgrade DEMOLITION WORKSHOP, upgrade SIEGE WORKSHOP; w50, rBOOKSHELF;
- BOMB WORKSHOP; Entities/Rooms/Sprites/BombShop.png; $KEY7$ to buy Bombs; bomb; uWEAPONS, rKNIGHT'S GUILD;
- ARROW WORKSHOP; Entities/Rooms/Sprites/ArrowShop.png; $KEY7$ to buy Arrows; arrow; uWEAPONS, rARCHER'S GUILD;
- DEMOLITION WORKSHOP; Entities/Rooms/Sprites/DemoShop.png; $KEY7$ to buy Explosives!; keg; uDEMOLITION WORKSHOP, rBUILDER'S GUILD;
- SIEGE WORKSHOP; Entities/Rooms/Sprites/SiegeShop.png; Build Siege Equipment; boulder, catapult; uWEAPONS, rENGINEER'S GUILD;
- #=============== MATERIAL TRADING ==================#
- MATERIAL EXCHANGE; Entities/Rooms/Sprites/EmptyRoom.png; Choose Resources to Trade; upgrade LUMBER YARD, upgrade STONE EXCHANGE, upgrade TREASURY; w50, rBOOKSHELF;
- STONE EXCHANGE; Entities/Rooms/Sprites/MasonryShop.png; Trade Stone; buystone50, buystone100, buystone200, sellstone50, sellstone100, sellstone200; uMATERIAL EXCHANGE, rLIBRARY;
- LUMBER YARD; Entities/Rooms/Sprites/CarpentryShop.png; Trade Wood; buywood50, buywood100, buywood200, sellwood50, sellwood100, sellwood200; uMATERIAL EXCHANGE, rLIBRARY;
- TREASURY; Entities/Rooms/Sprites/Bank.png; Trade Gold and Coins; buygold25, buygold50, buygold100, sellgold25, sellgold50, sellgold100; uMATERIAL EXCHANGE, rENCHANTED LIBRARY;
- #=============== TUNNELS ==================#
- TUNNEL; Entities/Rooms/Sprites/Tunnel.png; Choose a Direction; upgrade <--- TUNNEL, upgrade TUNNEL --->; w250, s200, g100, rENCHANTED LIBRARY, rENCHANTED ALCHEMY TABLE;
- <--- TUNNEL; Entities/Rooms/Sprites/Tunnel.png; TRAVEL LEFT; travel_left; rENCHANTED LIBRARY, uTUNNEL;
- TUNNEL --->; Entities/Rooms/Sprites/Tunnel.png; TRAVEL RIGHT; travel_left; rENCHANTED LIBRARY, uTUNNEL;
- # THE SEMICOLON BELOW THIS LINE IS REQUIRED, DO NOT REMOVE IT #
- ;
- #...............NOW ON TO FUNCTIONS................#
- #=============== FUNCTION SYNTAX ==================#
- # room_function syntax - function name; function actor name; function config file; function icon; function make sound; function icon frame; function icon frame size; function help text; costs , , , (g gold, s stone, w wood, c coins - none) ...
- #=============== FUNCTION ARRAY ==================#
- @$room_functions =bomb; -; -; Entities/Items/Sprites/MaterialStacks.png; Entities/Rooms/Sounds/BombMake.ogg; 12; 16; Light and Take Cover; c20;
- #grenade; keg; Entities/Items/Grenade.cfg; Entities/Items/Sprites/MaterialStacks.png; Entities/Rooms/Sounds/BombMake.ogg; 12; 16; Bomb costs 20 coins; c20;
- arrow; -; -; Entities/Items/Sprites/MaterialStacks.png; Entities/Rooms/Sounds/ArrowsMake.ogg; 10; 16; Fire when Ready; c*20;
- catapult; -; -; Sprites/catapult.png; d; 0; 32; Construct a Catapult; w120, c30;
- keg; keg; Entities/Items/kag.cfg; Entities/Items/Sprites/Keg.png; Entities/Rooms/Sounds/BombMake.ogg; 0; 16; Beware the Horde; c40;
- #outpost; -; -; Sprites/outpost1.png; d; 0; 32; Construct an Outpost; w120, c50;
- #=============== HEALING ==================#
- heal; -; -; -; Sounds/heart.ogg; 0; 0; -; c2;
- #=============== ITEMS ==================#
- boulder; boulder; Entities/Items/Boulder_Redux.cfg; Entities/Items/Sprites/Boulder.png; d; 0; 16; Crush your foes!; s50;
- lantern; genericitem; Entities/Items/Lantern_Redux.cfg; Entities/Items/Sprites/Lantern.png; Entities/Rooms/Sounds/BombMake.ogg; 0; 8; You are not Blind\nas the Others Are; c10;
- blantern; genericitem; Entities/Items/BLantern.cfg; Entities/Items/Sprites/MaterialStacks.png; Entities/Rooms/Sounds/BombMake.ogg; 12; 16; Not Dangerous; c10;
- goldenlight; genericitem; Entities/Items/goldenlight.cfg; Entities/Items/Sprites/Lantern.png; Entities/Rooms/Sounds/BombMake.ogg; 0; 8; Light up the Night!; w20, c40;
- barricade; keg; Entities/Items/Barricade.cfg; Entities/Items/Sprites/Crate.png; Sounds/hit_wood.ogg; 0; 13; Block the way!; w40;
- #=============== UPOGRADES ==================#
- #Syntax: upgrade ROOM_NAME; -; -; Entities/Rooms/Sprites/SPRITE_FILE_NAME.png; d; 0; 24; HELP_TEXT; COSTS, SEPARATED, BY, COMMAS;
- #=============== LIBRARY UPGRADES ==================#
- upgrade LIBRARY; -; -; Entities/Rooms/Sprites/Library.png; d; 0; 24; Build a Library; w175, s100;
- upgrade ENCHANTED LIBRARY; -; -; Mods/Action/Zambehs/Enchanted_Library.png; d; 0; 24; Enchant!; w250, s150, g50;
- #=============== ALCHEMY UPOGRADES ==================#
- upgrade ENCHANTED ALCHEMY TABLE; -; -; Mods/Action/Zambehs/Alchemy_table_t2.png; d; 0; 24; Enchant!; s100, w100, g100;
- #=============== UPOGRADES ==================#
- upgrade MECHANICS WORKSHOP; -; -; Entities/Rooms/Sprites/MechanicShop.png; d; 0; 24; MECHANICS WORKSHOP; w50, s50, g5;
- #=============== HEALING UPGRADES ==================#
- upgrade QUARTERS; -; -; Entities/Rooms/Sprites/Quarters.png; d; 0; 24; QUARTERS; w50, s50, g5;
- #=============== GUILD UPGRADES ==================#
- upgrade BUILDER'S GUILD; -; -; Entities/Rooms/Sprites/SmithShop.png; d; 0; 24; BUILDER'S GUILD; w60, s40;
- upgrade KNIGHT'S GUILD; -; -; Entities/Rooms/Sprites/Armoury.png; d; 0; 24; KNIGHT'S GUILD; w80, s60;
- upgrade ARCHER'S GUILD; -; -; Entities/Rooms/Sprites/ArcheryRange.png; d; 0; 24; ARCHER'S GUILD; w80, s20;
- #upgrade ENGINEER'S GUILD; -; -; Entities/Rooms/Sprites/Doorway.png; d; 0; 24; ENGINEER'S GUILD; s100, w250, g100;
- #upgrade MARKSMAN'S GUILD; -; -; Entities/Rooms/Sprites/Unholy_Monument.png; d; 0; 24; MARKSMAN'S GUILD; s80, w250, g150;
- #upgrade WARRIOR'S GUILD; -; -; Entities/Rooms/Sprites/Holy_Monument.png; d; 0; 24; WARRIOR'S GUILD; s150, w200, g250;
- #=============== WEAPONS UPGRADES ==================#
- upgrade BOMB WORKSHOP; -; -; Entities/Rooms/Sprites/BombShop.png; d; 0; 24; BOMB WORKSHOP; w80, s60;
- upgrade ARROW WORKSHOP; -; -; Entities/Rooms/Sprites/ArrowShop.png; d; 0; 24; ARROW WORKSHOP; w80, s20;
- upgrade DEMOLITION WORKSHOP; -; -; Entities/Rooms/Sprites/DemoShop.png; d; 0; 24; DEMOLITION WORKSHOP; w150, s80, g30;
- upgrade SIEGE WORKSHOP; -; -; Entities/Rooms/Sprites/SiegeShop.png; d; 0; 24; SIEGE WORKSHOP; w200, s200, g80;
- #=============== MATERIAL EXCHANGE UPGRADES ==================#
- upgrade LUMBER YARD; -; -; Entities/Rooms/Sprites/CarpentryShop.png; d; 0; 24; LUMBER YARD; w250, s50, g30;
- upgrade STONE EXCHANGE; -; -; Entities/Rooms/Sprites/MasonryShop.png; d; 0; 24; STONE EXCHANGE; w50, s250, g50;
- upgrade TREASURY; -; -; Entities/Rooms/Sprites/Bank.png; d; 0; 24; TREASURY; w250, s250, g150;
- #=============== TRAVELING ==================#
- travel_left; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/Travel.ogg; 1; 32; Travel Left; -;
- travel_right; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/Travel.ogg; 1; 32; Travel Right; -;
- #=============== CLASS CHANGES ==================#
- class 0; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchBuilder.ogg; 8; 32; Builder; -;
- class 1; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchKnight.ogg; 12; 32; Knight; -;
- class 2; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchArcher.ogg; 16; 32; Archer; -;
- class 3; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchBuilder.ogg; 8; 32; Builder; -;
- class 4; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchKnight.ogg; 12; 32; Knight; -;
- class 5; -; -; GUI/MenuItems.png; Entities/Rooms/Sounds/SwitchArcher.ogg; 12; 32; Archer; -;
- #=============== RESOURCE TRADING ==================#
- woodgold; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 3; 16; 60 Wood > 1 Gold; w60, g-1;
- stonegold; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/rock_hit?.ogg; 3; 16; 25 Stone > 1 Gold; s20, g-1;
- woodgolde; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 3; 16; 250 Wood > 25 Coin; w120, g-3;
- stonegolde; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 3; 16; 50 Stone > 5 Gold; s50, g-3;
- buywood50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 3; 16; Buy 50 Wood > 25 Coin; w-50, c25;
- buywood100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 4; 16; Buy 100 Wood > 50 Coin; w-100, c50;
- buywood200; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/chop_tree?.ogg; 5; 16; Buy 200 Wood > 100 Coin; w-200, c100;
- buystone50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/rock_hit?.ogg; 0; 16; Buy 50 Stone > 50 Coin; s-50, c50;
- buystone100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/rock_hit?.ogg; 1; 16; Buy 100 Stone > 100 Coin; s-100, c100;
- buystone200; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/rock_hit?.ogg; 2; 16; Buy 200 Stone > 200 Coin; s-200, c200;
- buygold25; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/goldsack_take.ogg; 6; 16; Buy 25 Gold > 50 Coin; g-25, c50;
- buygold50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/goldsack_take.ogg; 7; 16; Buy 50 Gold > 100 Coin; g-50, c100;
- buygold100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/goldsack_take.ogg; 8; 16; Buy 100 Gold > 200 Coin; g-100, c200;
- sellwood50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 15; 16; Sell 50 Wood > 25 Coin; w50, c-25;
- sellwood100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 16; 16; Sell 100 Wood > 50 Coin; w100, c-50;
- sellwood200; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 17; 16; Sell 200 Wood > 100 Coin; w200, c-100;
- sellstone50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 15; 16; Sell 50 Stone > 50 Coin; s50, c-50;
- sellstone100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 16; 16; Sell 100 Stone > 100 Coin; s100, c-100;
- sellstone200; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 17; 16; Sell 200 Stone > 200 Coin; s200, c-200;
- sellgold25; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 15; 16; Sell 25 Gold > 50 Coin; g25, c-50;
- sellgold50; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 16; 16; Sell 50 Gold > 100 Coin; g50, c-100;
- sellgold100; -; -; Entities/Items/Sprites/MaterialStacks.png; Sounds/coinpick.ogg; 17; 16; Sell 100 Gold > 200 Coin; g100, c-200;
- # THE SEMICOLON BELOW THIS LINE IS REQUIRED, DO NOT REMOVE IT #
- ;
- #=============== END ON CONFIGURATION==================#
Advertisement
Add Comment
Please, Sign In to add comment