Skip to content

Commit

Permalink
mounts part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jan 14, 2024
1 parent 1d28c38 commit c816b29
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 9 deletions.
7 changes: 6 additions & 1 deletion prototypes/creatures/crawdad.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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}
},
}}
7 changes: 6 additions & 1 deletion prototypes/creatures/dingrido.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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}
},
}}
9 changes: 8 additions & 1 deletion prototypes/creatures/mecha-zungror.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
18 changes: 12 additions & 6 deletions prototypes/creatures/phadaisus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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'])
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -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 = {
Expand All @@ -319,7 +325,7 @@ stream.action = {{
},
type = 'instant'
},
radius = 6,
radius = 6,
type = 'area'
}}
data:extend{stream}
Expand Down

0 comments on commit c816b29

Please sign in to comment.