SHARE
TWEET

smash_the_ancient

a guest Jan 30th, 2019 1,309 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. "smash_the_ancient_v1"
  2. {
  3.     "name"      "Smash the ancient! By Anomidae, built off of puzzle_example.txt"
  4.     "description"   "Destroy the ancient in one turn! You only have your entire deck to do so!"
  5.     "sections"
  6.     {
  7.         "part1"
  8.         {
  9.             "rules"
  10.             {
  11.                 // All rules and their default values
  12.                 "deck_player"
  13.                 {
  14.                     "use_deck"                  "ADCJbQfYH0FrLsBHgG4XYKl3QGRhgSBgbQCvwG4AQSEj0EBkYITHEpbUFVaWkxFXSBSYW1wUHV6emxlIFBsYXllciBEZWNr"       // Optional deck code that if specified will cause the player to play this deck. If specified, no prompt to select a deck will be presented
  15.                     "allow_user_decks"          "1"     // Specify whether or not the user can submit custom built decks. If zero, they cannot and must use the additional decks listed below
  16.                     "additional_decks"                  // A list of additional decks to add to the deck selector that they can select
  17.                     {
  18.                         "sample_deck_1"
  19.                         {
  20.                             "name"              "A"     // The name to present for this deck in the selector
  21.                             "description"       ""      // Optional description for this deck
  22.                             "tags"              ""      // Optional tags for this deck
  23.                             "code"              ""      // The deck code for this deck
  24.                         }
  25.                     }
  26.  
  27.                     "validator"                         // If you allow users to play custom decks, this can be specified to provide a custom deck validator to enforce the user selection of decks
  28.                     {                                  
  29.                     }
  30.                 }
  31.                 "deck_ai"
  32.                 {
  33.                     "use_deck"                  "ADCJfkcIrkCB5ZDCb26AoEFgoeXgaYBn6YBoAGFW1BVWlpMRV0gUmFtcCBQdXp6bGUgQUkgZGVjbA__"       // Optional deck code that if specified will cause the player to play this deck. If specified, no prompt to select a deck will be presented
  34.                     "allow_user_decks"          "1"     // Specify whether or not the user can submit custom built decks. If zero, they cannot and must use the additional decks listed below
  35.                     "additional_decks"                  // A list of additional decks to add to the deck selector that they can select
  36.                     {
  37.                         "sample_deck_1"
  38.                         {
  39.                             "name"              "A"     // The name to present for this deck in the selector
  40.                             "description"       ""      // Optional description for this deck
  41.                             "tags"              ""      // Optional tags for this deck
  42.                             "code"              ""      // The deck code for this deck
  43.                         }
  44.                     }
  45.  
  46.                     "validator"                         // If you allow users to play custom decks, this can be specified to provide a custom deck validator to enforce the user selection of decks
  47.                     {                                  
  48.                     }
  49.                 }
  50.  
  51.                 "set1"                          "1" // needed for the shop to work properly
  52.  
  53.                 "initial_heroes"                "5"
  54.                 "initial_heroes_ai"             "5"
  55.                
  56.                 //"tower_health"                    "400" // for all towers
  57.                 //"ancient_health"              "80" // for all ancients
  58.  
  59.                 "tower1_health"                 "0" // override health for a specific tower
  60.                 "tower2_health"                 "2"
  61.                 "tower3_health"                 "40"
  62.                 "tower1_health_ai"              "0"
  63.                 "tower2_health_ai"              "6000"
  64.                 "tower3_health_ai"              "6000"
  65.                 "ancient1_health"               "1" // override health for a specific ancient
  66.                 "ancient2_health"               "80"
  67.                 "ancient3_health"               "80"
  68.                 "ancient1_health_ai"            "5700"
  69.                 "ancient2_health_ai"            "80"
  70.                 "ancient3_health_ai"            "80"
  71.  
  72.                 "store_enabled"                 "1" // set to 0 to disable shopping
  73.                 "initial_mana"                  "3"
  74.                 "initial_mana_ai"               "3"
  75.                 "creeps_first_turn"             "8"
  76.                 "creeps_first_turn_ai"          "10"
  77.                 "creeps_per_turn"               "0"
  78.                 "creeps_per_turn_ai"            "0"
  79.                 "cards_first_turn"              "57"
  80.                 "cards_first_turn_ai"           "40"
  81.                 "cards_per_turn"                "0"
  82.                 "cards_per_turn_ai"             "0"
  83.                 "gold_per_turn_ai"              "0"
  84.                 "mana_boost_per_turn_ai"        "0"
  85.  
  86.                 "creep_list"                    "1006" // Comma separated list of possible automatic creeps at deployment, EX: "10092,10003"
  87.                 "creep_list_ai"                 "1006" // Comma separated list of possible automatic creeps at deployment, EX: "10092,10003"
  88.                 "free_cards_per_turn"           "" // Comma separated list of cards to draw each turn EX: "Tower Archer,Tower Archer"
  89.                 "free_cards_per_turn_ai"        ""
  90.                 "deploy_heroes_enabled"         "1" // set to 0 to never deploy more heroes
  91.  
  92.                 "gold_victory"                  "0" // you can win by having this much gold in the bank
  93.                 "units_victory"                 "0" // you can win by having this many units in all lanes
  94.                 "kills_victory"                 "0" // you can win by killing this many units
  95.                 "ai_pass_chance_multiplier"     "100" // multiplier on how likely the AI is to pass, set to 0 so they never pass
  96.                 "creeps_lanes_player_1each"     "0" // automatically deployed creeps only do 1 per lane rather than doubling up
  97.                 "creeps_lanes_random"           "1" // set to 0 and all the automatic creeps will bunch toward the left most lane
  98.                 "heroes_initial_lane_random"    "0" // set to 0 and hero lane order will be 1,2,3 from deck instead of random
  99.                 "hero1_player"                  "10031, 10036, 10064, 10001, 10068 " // set to the cardID of a hero to cause that hero to start in lane 1
  100.                 "hero2_player"                  "0" // set to the cardID of a hero to cause that hero to start in lane 2
  101.                 "hero3_player"                  "0" // set to the cardID of a hero to cause that hero to start in lane 3
  102.                 "hero1_ai"                      "0" // set to the cardID of a hero to cause that hero to start in lane 1
  103.                 "hero2_ai"                      "0" // set to the cardID of a hero to cause that hero to start in lane 2
  104.                 "hero3_ai"                      "0" // set to the cardID of a hero to cause that hero to start in lane 3
  105.                 "only_flop_across_from_heroes"  "0" // randomly deployed units will always land across from heroes
  106.                 "no_shotclock"                  "0" // hides the timer around the coin... probably will default this off for AI games, so don't worry about it
  107.                 "shotclock_base_time"           "45" // time limit for each turn
  108.                 "force_combat_manager_rand_to_zero" "0" // used in tutorial to force the order that cards flop
  109.                 "ai_action_choice_non_random"   "0" // used in tutorial, ai plays their actions in hand order instead of random order
  110.                 "defense_shield_force"          "" // used in tutorial to force defense shields... dangerous, don't use!
  111.             }
  112.             "sequences"
  113.             {
  114.                 // Syntax
  115.                 //"<event> <delay>" "<action> <params>"
  116.  
  117.                 // You can change a rule mid game in a sequence like so:
  118.                 //"auto"                            "rule creeps_per_turn_ai 2"
  119.  
  120.                 // Also activates when the event above activates
  121.                 ">"                             "<action>"
  122.  
  123.                 // When they click ok on a popup (having this in a sqeuence causes the popup to have an ok button)
  124.                 "on_message_dismissed"          "<action>"
  125.  
  126.                 // When they click ok on a popup (has an ok button that is disabled until prompt_unstall action is used)
  127.                 "on_stalled_message_dismissed"  "<action>"
  128.  
  129.                 // When the coin is on your side
  130.                 "on_prompt"                     "<action>"
  131.  
  132.                 // Some more useful ones
  133.                 "on_card_played"                "<action>"
  134.                 "on_card_drawn"                 "<action>"
  135.                 "on_deploy_start"               "<action>"
  136.                 "on_next_lane"                  "<action>"
  137.                 "on_store_openned"              "<action>"
  138.                 "on_tower_destroyed"            "<action>"
  139.                 "on_victory"                    "<action>"
  140.                 "on_failure"                    "<action>"
  141.  
  142.                 // Less useful
  143.                 "on_zoom_out"                   "<action>"
  144.                 "on_zoom_in"                    "<action>"
  145.                 "on_camera_scroll"              "<action>"
  146.                 "on_camera_lane1"               "<action>"
  147.                 "on_camera_lane2"               "<action>"
  148.                 "on_camera_lane3"               "<action>"
  149.                 "on_viewed_card_history"        "<action>"
  150.                 "on_viewed_combat_preview"      "<action>"
  151.                 "on_movie_start"                "<action>"
  152.                 "on_movie_end"                  "<action>"
  153.                 "on_card_flopped"               "<action>"
  154.  
  155.                 // Here's some actions
  156.                 ">" "<action>"
  157.  
  158.                 ">" "load_puzzle <name>"
  159.                 ">" "load_section <name>"
  160.                 ">" "quit"
  161.  
  162.                 ">" "rule <rulename> <value>"
  163.                 ">" "convar <convarname> <value>"
  164.                 ">" "concommand <concommand> <param1> <2> ..."
  165.                 ">" "creat_carde <name>"
  166.  
  167.                 ">" "checklist_headder <text>" // sets the top title of the checklist
  168.                 ">" "checklist_add <text> <count>" // adds a checklist section with option subsection count
  169.                 ">" "checklist_set <text>" // sets this as the current section
  170.                 ">" "checklist_hide" // hides the checklist ui element
  171.  
  172.                 ">" "popup <text> <time_till_button_enabled>"
  173.                 ">" "popup_unstall"
  174.                 ">" "soundevent <name>"
  175.                 ">" "particleevent <name> <matchname1> <matchparam1> <2> <2>..."
  176.  
  177.                 // Tutorial stuff, not really useful
  178.                 ">" "hudevent 0 <param> <param>"
  179.                 ">" "showchild <matchname1> <matchparam1> <2> <2>..."
  180.                 ">" "hidechild <matchname1> <matchparam1> <2> <2>..."
  181.                 ">" "lock <matchname1> <matchparam1> <2> <2>..."
  182.                 ">" "unlock <matchname1> <matchparam1> <2> <2>..."
  183.                 ">" "lock_camera"
  184.                 ">" "unlock_camera"
  185.                 ">" "reset_accumulated_show_time"
  186.             }
  187.         }
  188.     }
  189. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top