From c816b2947f811cf73f14d6356d136c8b59922a6f Mon Sep 17 00:00:00 2001 From: notnotmelon Date: Sun, 14 Jan 2024 17:17:10 -0600 Subject: [PATCH] mounts part 4 --- prototypes/creatures/crawdad.lua | 7 ++++++- prototypes/creatures/dingrido.lua | 7 ++++++- prototypes/creatures/mecha-zungror.lua | 9 ++++++++- prototypes/creatures/phadaisus.lua | 18 ++++++++++++------ 4 files changed, 32 insertions(+), 9 deletions(-) diff --git a/prototypes/creatures/crawdad.lua b/prototypes/creatures/crawdad.lua index 5221c7ce..3865fbe0 100644 --- a/prototypes/creatures/crawdad.lua +++ b/prototypes/creatures/crawdad.lua @@ -95,7 +95,7 @@ data:extend{{ dying_explosion = 'blood-explosion-huge', alert_icon_shift = util.by_pixel(-4, -13), immune_to_tree_impacts = true, - has_belt_immunity = true, + has_belt_immunity = false, immune_to_rock_impacts = true, energy_per_hit_point = 0.5, resistances = { @@ -296,4 +296,9 @@ data:extend{{ inventory_size = 80, guns = {}, equipment_grid = 'mount-grid-10x4', + minimap_representation = { + filename = '__pyalienlifegraphics2__/graphics/icons/caravan-map-tag-mk01.png', + flags = {'icon'}, + size = {64, 64} + }, }} \ No newline at end of file diff --git a/prototypes/creatures/dingrido.lua b/prototypes/creatures/dingrido.lua index ad1b2ef5..9c498d5b 100644 --- a/prototypes/creatures/dingrido.lua +++ b/prototypes/creatures/dingrido.lua @@ -51,7 +51,7 @@ data:extend{{ dying_explosion = 'blood-explosion-huge', alert_icon_shift = util.by_pixel(-4, -13), immune_to_tree_impacts = true, - has_belt_immunity = true, + has_belt_immunity = false, immune_to_rock_impacts = true, energy_per_hit_point = 0.5, resistances = { @@ -287,4 +287,9 @@ data:extend{{ guns = {}, automatic_weapon_cycling = false, equipment_grid = 'mount-grid-10x6', + minimap_representation = { + filename = '__pyalienlifegraphics2__/graphics/icons/caravan-map-tag-mk02.png', + flags = {'icon'}, + size = {64, 64} + }, }} \ No newline at end of file diff --git a/prototypes/creatures/mecha-zungror.lua b/prototypes/creatures/mecha-zungror.lua index d58a9c3c..3a0ab0f0 100644 --- a/prototypes/creatures/mecha-zungror.lua +++ b/prototypes/creatures/mecha-zungror.lua @@ -5,6 +5,11 @@ zungror.icon_mipmaps = nil zungror.icon_tintable = zungror.icon zungror.icon_tintables = nil zungror.icon_tintable_masks = nil +zungror.minimap_representation = { + filename = '__pyalienlifegraphics2__/graphics/icons/caravan-map-tag-mk02.png', + flags = {'icon'}, + size = {64, 64} +} zungror.icon_tintable_mask = '__pyalienlifegraphics__/graphics/icons/mount-mask.png' data.raw['spidertron-remote']['spidertron-remote'].subgroup = 'py-alienlife-special-creatures' data.raw['spidertron-remote']['spidertron-remote'].order = 'z-c' @@ -43,7 +48,9 @@ RECIPE { {type = 'item', name = 'spidertron', amount = 1}, }, main_product = 'spidertron', -} +}:add_unlock('spidertron') + +RECIPE('spidertron-remote'):add_unlock('spidertron') local zungror = data.raw['spider-vehicle'].spidertron zungror.inventory_size = 160 diff --git a/prototypes/creatures/phadaisus.lua b/prototypes/creatures/phadaisus.lua index f73e7aa7..ced68d9c 100644 --- a/prototypes/creatures/phadaisus.lua +++ b/prototypes/creatures/phadaisus.lua @@ -216,9 +216,9 @@ data:extend{{ weight = 6000, inventory_size = 200, render_layer = 'air-object', - automatic_weapon_cycling = true, + automatic_weapon_cycling = false, equipment_grid = 'mount-grid-10x10', - guns = {'dragon-breath', 'dragon-breath', 'dragon-breath', 'dragon-breath'}, + guns = {'dragon-breath'}, torso_rotation_speed = 0.01, chunk_exploration_radius = 4, chain_shooting_cooldown_modifier = 0.4, @@ -235,6 +235,11 @@ data:extend{{ military_target = 'spidertron-military-target', }, trash_inventory_size = 10, + minimap_representation = { + filename = '__pyalienlifegraphics2__/graphics/icons/caravan-map-tag-mk04.png', + flags = {'icon'}, + size = {64, 64} + }, }} local vehicle_leg = table.deepcopy(data.raw['spider-leg']['spidertron-leg-1']) @@ -267,9 +272,9 @@ RECIPE { energy_required = 20, enabled = false, ingredients = { - {type = 'fluid', name = 'light-oil', amount = 250}, - {type = 'fluid', name = 'kerosene', amount = 1500}, - {type = 'fluid', name = mods.pyalternativeenergy and 'aniline' or 'water', amount = 500}, + {type = 'fluid', name = 'light-oil', amount = 100}, + {type = 'fluid', name = 'kerosene', amount = 100}, + {type = 'fluid', name = mods.pyalternativeenergy and 'aniline' or 'water', amount = 100}, }, category = 'chemistry', results = { @@ -304,6 +309,7 @@ ITEM { } local stream = table.deepcopy(data.raw['stream']['tank-flamethrower-fire-stream']) +stream.particle_horizontal_speed = 1.5 stream.name = 'dragon-breath' stream.action = {{ action_delivery = { @@ -319,7 +325,7 @@ stream.action = {{ }, type = 'instant' }, - radius = 6, + radius = 6, type = 'area' }} data:extend{stream}