Liusad

Noita beta update diff 20210212

Feb 11th, 2021 (edited)
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.62 KB | None | 0 0
  1. HOW TO READ:
  2.  
  3. FILE CHANGED =>     +++ b/biome/rainforest_dark.xml
  4.                          @@ -7,7 +7,7 @@
  5.                          background_edge_right="data/weather_gfx/edges/background_rainforest_dark_right.png"
  6.                          background_edge_top="data/weather_gfx/edges/background_rainforest_dark_top.png"
  7.                          background_edge_bottom="data/weather_gfx/edges/background_rainforest_dark_bottom.png"
  8. REMOVED CODE        => -    background_edge_priority="10"  
  9. NEW OR CHANGED CODE => +    background_edge_priority="9"  
  10.                          limit_background_image="0"
  11.  
  12.                          wang_template_file="data/wang_tiles/rainforest_dark.png"
  13.  
  14. -------------------------------------------------------------------------------------------
  15.  
  16. Actual changes below:
  17.  
  18. diff --git a/biome/_biomes_all.xml b/biome/_biomes_all.xml
  19. index dc29e9e..c7e0ce0 100644
  20. --- a/biome/_biomes_all.xml
  21. +++ b/biome/_biomes_all.xml
  22. @@ -877,6 +877,12 @@
  23.         color="ff1f3b62" >
  24.     </Biome>
  25.    
  26. +   <Biome
  27. +       biome_filename="data/biome/ghost_secret.xml"
  28. +       height_index="13"
  29. +       color="ff1f3b64" >
  30. +   </Biome>
  31. +  
  32.     <Biome
  33.         biome_filename="data/biome/clouds.xml"
  34.         height_index="0"
  35. diff --git a/biome_impl/biome_map.png b/biome_impl/biome_map.png
  36. index 70cffc2..7c2dd63 100644
  37. Binary files a/biome_impl/biome_map.png and b/biome_impl/biome_map.png differ
  38. diff --git a/entities/animals/ethereal_being.xml b/entities/animals/ethereal_being.xml
  39. index 25cd618..046efc3 100644
  40. --- a/entities/animals/ethereal_being.xml
  41. +++ b/entities/animals/ethereal_being.xml
  42. @@ -1,4 +1,4 @@
  43. -<Entity tags="enemy,teleportable_NOT,polymorphable_NOT,hittable,mortal" name="$animal_ethereal_being">
  44. +<Entity tags="enemy,teleportable_NOT,polymorphable_NOT,hittable,mortal,boss_ghost_helper" name="$animal_ethereal_being">  
  45.     <ItemChestComponent level="4" enemy_drop="1" > </ItemChestComponent>
  46.  
  47.     <!-- art - main body ---------------------- -->
  48. diff --git a/entities/buildings/statue_hand_1.xml b/entities/buildings/statue_hand_1.xml
  49. index 7f3ea05..2c31619 100644
  50. --- a/entities/buildings/statue_hand_1.xml
  51. +++ b/entities/buildings/statue_hand_1.xml
  52. @@ -1,4 +1,4 @@
  53. -<Entity tags="statue_hand_1,statue_hand">
  54. +<Entity tags="statue_hand_1,statue_hand,hittable">
  55.     <PhysicsBody2Component
  56.         angular_damping="0.5"
  57.         destroy_body_if_entity_destroyed="1"
  58. @@ -24,6 +24,14 @@
  59.         execute_every_n_frame="16"
  60.         >
  61.     </LuaComponent>
  62. +  
  63. +   <HitboxComponent
  64. +       damage_multiplier="0.1"
  65. +       aabb_max_x="12"
  66. +       aabb_max_y="12"
  67. +       aabb_min_x="-12"
  68. +       aabb_min_y="-12" >
  69. +   </HitboxComponent>
  70.  
  71.  </Entity>
  72.  
  73. diff --git a/materials.xml b/materials.xml
  74. index de4c23c..c9f6e7f 100644
  75. --- a/materials.xml
  76. +++ b/materials.xml
  77. @@ -8014,6 +8014,48 @@
  78.     color="ffE8BD5A" >
  79.      </Graphics>
  80.    </CellData>
  81. +
  82. +  <CellData
  83. +   name="glue"
  84. +   ui_name="$mat_glue"
  85. +   tags="[liquid],[burnable],[alchemy],[impure]"
  86. +   burnable="1"  
  87. +   density="6"
  88. +   durability="4"
  89. +   hp="100"
  90. +   cell_type="liquid"
  91. +   wang_color="fff6fce3"  
  92. +   generates_smoke="0"
  93. +   liquid_gravity="0.2"  
  94. +   liquid_sand="1"  
  95. +   liquid_viscosity="0"
  96. +   liquid_damping="0.9"
  97. +   liquid_sticks_to_ceiling="100"
  98. +   liquid_flow_speed="0.1"
  99. +   audio_physics_material_event="slime"
  100. +   audio_physics_material_wall="slime"
  101. +   audio_physics_material_solid="slime"
  102. +   stickyness="1.0"
  103. +   solid_friction="1.0"
  104. +   fire_hp="50"
  105. +   on_fire="0"
  106. +   temperature_of_fire="95"
  107. +   autoignition_temperature="10"
  108. +   electrical_conductivity="0"
  109. +   requires_oxygen="1"  
  110. +   temperature_of_fire="10"
  111. +   show_in_creative_mode="1"
  112. +   >
  113. +   <StatusEffects>
  114. +       <Ingestion>
  115. +           <StatusEffect type="FOOD_POISONING" amount="0.2" />
  116. +           <StatusEffect type="TRIP" amount="0.3" />
  117. +       </Ingestion>
  118. +   </StatusEffects>
  119. +    <Graphics
  120. +       color="fff6fce3" >
  121. +    </Graphics>
  122. +  </CellData>
  123.    
  124.    <CellData
  125.     name="slime"
  126. @@ -12357,6 +12399,20 @@
  127.      </Graphics>
  128.    </CellDataChild>
  129.    
  130. +  <CellDataChild
  131. +   _parent="gem_box2d"
  132. +   _inherit_reactions="1"
  133. +   name="gem_box2d_white"
  134. +   ui_name="$mat_gem_box2d_white"
  135. +   gfx_glow_color="0xFFebeaef"
  136. +   wang_color="ffebeaef"
  137. +   show_in_creative_mode="1"
  138. +   >
  139. +   <Graphics
  140. +   color="ffebeaef" >
  141. +    </Graphics>
  142. +  </CellDataChild>
  143. +  
  144.    <CellDataChild
  145.     _parent="gem_box2d"
  146.     _inherit_reactions="1"
  147. @@ -14179,6 +14235,14 @@
  148.     output_cell1="alcohol_gas"  output_cell2="alcohol_gas">
  149.    </Reaction>
  150.  
  151. +  <!-- glue. evaporates slowly and burns quick into poison gas -->
  152. +  <Reaction probability="60"
  153. +   fast_reaction="1"
  154. +   input_cell1="glue"      input_cell2="[fire]"
  155. +   output_cell1="[fire]"       output_cell2="poison_gas">
  156. +  </Reaction>
  157. +
  158. +
  159.     <!-- =================================================================================================================  -->
  160.     <!-- [slime] reactions -->
  161.  
  162. diff --git a/scripts/biomes/mountain_tree.lua b/scripts/biomes/mountain_tree.lua
  163. index 835aa25..47f851d 100644
  164. --- a/scripts/biomes/mountain_tree.lua
  165. +++ b/scripts/biomes/mountain_tree.lua
  166. @@ -296,7 +296,7 @@ function spawn_pillars( x, y )
  167.         { { "misc_chest_rain", "crain" }, { "misc_worm_rain", "wrain" }, { "misc_greed_rain", "grain" }, { "misc_altar_tablet", "train" }, { "misc_monk_bots", "mbots" }, { "secret_tower", "secrett" }, { "player_status_ghostly", "pghost" }, { "player_status_ratty", "prat" } },
  168.         { { "essence_fire", "essencef" }, { "essence_water", "essencew" }, { "essence_laser", "essencee" }, { "essence_air", "essencea" }, { "essence_alcohol", "essenceal" }, { "secret_moon", "moon" }, { "secret_moon2", "moona" }, { "special_mood", "moong" }, { "secret_dmoon", "dmoon" }, { "dead_mood", "dmoong" } },
  169.         { { "progress_ending0", "end0" }, { "progress_ending1_toxic", "endt" }, { "progress_ending1_gold", "endb" }, { "progress_ending2", "endg" }, { "progress_newgameplusplus3", "endp" }, { "progress_nightmare", "endn" } },
  170. -       { { "miniboss_dragon", "minid" }, { "miniboss_limbs", "minil" }, { "miniboss_pit", "minip" }, { "miniboss_alchemist", "minia" }, { "miniboss_wizard", "meme" }, { "miniboss_gate_monsters", "minigm" }, { "boss_centipede", "boss" } },
  171. +       { { "miniboss_dragon", "minid" }, { "miniboss_limbs", "minil" }, { "miniboss_ghost", "minigh" }, { "miniboss_pit", "minip" }, { "miniboss_alchemist", "minia" }, { "miniboss_wizard", "meme" }, { "miniboss_gate_monsters", "minigm" }, { "boss_centipede", "boss" } },
  172.         { { "progress_orb_1", "orbf" }, { "progress_orb_evil", "orbe" }, { "progress_orb_all", "orba" }, { "progress_pacifist", "pacifist" }, { "progress_nogold", "nogold" }, { "progress_clock", "clock" }, { "progress_minit", "minit" }, { "progress_nohit", "nohit" } },
  173.         { { "secret_greed", "secretg" }, { "final_secret_orb", "yeah" }, { "secret_chest_dark", "secretcd" }, { "secret_chest_light", "secretcl" }, { "card_unlocked_everything", "secretall" }, { "card_unlocked_divide", "secretten" }, { "secret_fruit", "secretf" }, { "secret_allessences", "secretae" }, { "secret_meditation", "secretme" }, { "secret_buried_eye", "secretbe" }, { "secret_hourglass", "secrethg" }, { "progress_hut_a", "huta" }, { "progress_hut_b", "hutb" } },
  174.     }
  175. diff --git a/scripts/biomes/snowcave.lua b/scripts/biomes/snowcave.lua
  176. index cec8dd4..482f14b 100644
  177. --- a/scripts/biomes/snowcave.lua
  178. +++ b/scripts/biomes/snowcave.lua
  179. @@ -297,6 +297,12 @@ g_big_enemies =
  180.         max_count   = 1,    
  181.         entity  = "data/entities/animals/thunderskull.xml"
  182.     },
  183. +   {
  184. +       prob        = 0.01,
  185. +       min_count   = 2,
  186. +       max_count   = 4,    
  187. +       entity  = "data/entities/animals/scavenger_glue.xml",
  188. +   },
  189.     {
  190.         prob        = 0.05,
  191.         min_count   = 1,
  192. diff --git a/scripts/biomes/vault.lua b/scripts/biomes/vault.lua
  193. index 0c5c623..6f55e9f 100644
  194. --- a/scripts/biomes/vault.lua
  195. +++ b/scripts/biomes/vault.lua
  196. @@ -172,6 +172,12 @@ g_small_enemies =
  197.             "data/entities/animals/vault/coward.xml",
  198.         }
  199.     },
  200. +   {
  201. +       prob        = 0.05,
  202. +       min_count   = 1,
  203. +       max_count   = 3,    
  204. +       entity  = "data/entities/animals/scavenger_glue.xml",
  205. +   },
  206.  }
  207.  
  208.  g_big_enemies =
  209. @@ -257,6 +263,11 @@ g_big_enemies =
  210.                 max_count   = 3,    
  211.                 entity  = "data/entities/animals/vault/scavenger_grenade.xml"
  212.             },
  213. +           {
  214. +               min_count   = 0,
  215. +               max_count   = 3,    
  216. +               entity  = "data/entities/animals/vault/scavenger_glue.xml"
  217. +           },
  218.             "data/entities/animals/vault/scavenger_leader.xml",
  219.             "data/entities/animals/vault/scavenger_heal.xml",
  220.         }
  221. diff --git a/scripts/biomes/vault_frozen.lua b/scripts/biomes/vault_frozen.lua
  222. index 141d996..fba4988 100644
  223. --- a/scripts/biomes/vault_frozen.lua
  224. +++ b/scripts/biomes/vault_frozen.lua
  225. @@ -134,6 +134,7 @@ g_small_enemies =
  226.             "data/entities/animals/vault/scavenger_leader.xml",
  227.             "data/entities/animals/vault/scavenger_smg.xml",
  228.             "data/entities/animals/vault/scavenger_grenade.xml",
  229. +           "data/entities/animals/vault/scavenger_glue.xml",
  230.             "data/entities/animals/vault/coward.xml",
  231.         },
  232.     },
  233. diff --git a/scripts/gun/gun_actions.lua b/scripts/gun/gun_actions.lua
  234. index d7fcd74..72a5a92 100644
  235. --- a/scripts/gun/gun_actions.lua
  236. +++ b/scripts/gun/gun_actions.lua
  237. @@ -4488,7 +4488,7 @@ actions =
  238.         sprite_unidentified = "data/ui_gfx/gun_actions/bounce_unidentified.png",
  239.         type        = ACTION_TYPE_MODIFIER,
  240.         spawn_level                       = "2,3,4,5,6", -- BOUNCE
  241. -       spawn_probability                 = "1,1,1,1,1", -- BOUNCE
  242. +       spawn_probability                 = "1,1,0.4,0.2,0.2", -- BOUNCE
  243.         price = 50,
  244.         mana = 0,
  245.         --max_uses = 150,
  246. @@ -4497,6 +4497,24 @@ actions =
  247.             draw_actions( 1, true )
  248.         end,
  249.     },
  250. +   {
  251. +       id          = "REMOVE_BOUNCE",
  252. +       name        = "$action_remove_bounce",
  253. +       description = "$actiondesc_remove_bounce",
  254. +       sprite      = "data/ui_gfx/gun_actions/remove_bounce.png",
  255. +       sprite_unidentified = "data/ui_gfx/gun_actions/bounce_unidentified.png",
  256. +       type        = ACTION_TYPE_MODIFIER,
  257. +       spawn_level                       = "2,3,4,5,6", -- BOUNCE
  258. +       spawn_probability                 = "0.2,0.2,1,1,1", -- BOUNCE
  259. +       price = 50,
  260. +       mana = 0,
  261. +       --max_uses = 150,
  262. +       action      = function()
  263. +           c.extra_entities = c.extra_entities .. "data/entities/misc/remove_bounce.xml,"
  264. +           c.bounces = 0
  265. +           draw_actions( 1, true )
  266. +       end,
  267. +   },
  268.     {
  269.         id          = "HOMING",
  270.         name        = "$action_homing",
  271. diff --git a/scripts/projectiles/teleport_projectile_closer_hit.lua b/scripts/projectiles/teleport_projectile_closer_hit.lua
  272. index 6c196e3..9230cb0 100644
  273. --- a/scripts/projectiles/teleport_projectile_closer_hit.lua
  274. +++ b/scripts/projectiles/teleport_projectile_closer_hit.lua
  275. @@ -23,7 +23,7 @@ if ( #projectiles > 0 ) then
  276.         end
  277.     end
  278.    
  279. -   print( tostring(entity_id) .. ", " .. tostring(enemy_id) )
  280. +   -- print( tostring(entity_id) .. ", " .. tostring(enemy_id) )
  281.    
  282.     if ( ox ~= nil ) and ( oy ~= nil ) then
  283.         EntitySetTransform( enemy_id, ox, oy )
  284.  
Add Comment
Please, Sign In to add comment