Compare commits
2 Commits
507f06fb8c
...
silly-shot
Author | SHA1 | Date | |
---|---|---|---|
7e4833d567
|
|||
c752e8e1e3
|
@ -130,7 +130,7 @@ hpcols_lut = csv[[36
|
|||||||
-- call after any change to maxhp
|
-- call after any change to maxhp
|
||||||
-- configures health gradient
|
-- configures health gradient
|
||||||
function init_hpcols()
|
function init_hpcols()
|
||||||
hpcols = hpcols_lut[min(primary_ship.maxhp,6)]
|
hpcols = hpcols_lut[min(primary_ship.maxhp,5)]
|
||||||
end
|
end
|
||||||
|
|
||||||
function wipe_game()
|
function wipe_game()
|
||||||
@ -1022,7 +1022,7 @@ machine_gun_e = mknew(vulcan_gun_e.new{
|
|||||||
icon = 38,
|
icon = 38,
|
||||||
clip_size = 12,
|
clip_size = 12,
|
||||||
clip_interval = 0x0.005a,
|
clip_interval = 0x0.005a,
|
||||||
shots = {{{0, 2}}, {{0, -2}}}
|
shots = {{{0.0625, 2}}, {{-0.0625, -2}}}
|
||||||
})
|
})
|
||||||
|
|
||||||
vulcan_gun_p = mknew(vulcan_gun_e.new{
|
vulcan_gun_p = mknew(vulcan_gun_e.new{
|
||||||
@ -1064,8 +1064,8 @@ player = mknew(ship_m.new{
|
|||||||
boss = true, -- dramatic special effects
|
boss = true, -- dramatic special effects
|
||||||
|
|
||||||
-- health
|
-- health
|
||||||
hp = 3, -- current health, non-regenerating
|
hp = 1024, -- current health, non-regenerating
|
||||||
maxhp = 3, -- player only; other ships never heal
|
maxhp = 1024, -- player only; other ships never heal
|
||||||
shield = 2, -- regenerates
|
shield = 2, -- regenerates
|
||||||
maxshield = 2,
|
maxshield = 2,
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user