Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET STARTING CYCLES: 0
- PLAY: 0x7f5d94f93090 ambient/cave.ogg -> 0
- PLAY: 0x7f5d94f93090 ambient/cave.ogg -> 1
- PLAY: 0x7f5da54da8f0 ambient/fireplace.ogg -> 2
- PREVIOUS LEVEL:
- GET SAVE FILE PATH: /home/shadowm/.frogatto/save.cfg
- ERROR: Tried to serialize type which cannot be serialized
- FORMULA: data/gui/hud.cfg 4 (column 13)[if(object.vars.score < level.local_player.vars.score*100, set(object.vars, 'score', object.vars.score + diff/20 + 1) where diff = level.local_player.vars.score*100 - object.vars.score),
- if(object.vars.score = null, set(object.vars.score, level.local_player.vars.score*100)),
- if(object.vars.coins != level.local_player.vars.coins*100, set(object.vars.coins, object.vars.coins + diff/20 + if(diff > 0, 1, -1)) where diff = level.local_player.vars.coins*100 - object.vars.coins),
- if(object.vars.coins = null, set(object.vars.coins, level.local_player.vars.coins*100)),
- if(object.vars.bosses or object.vars.boss_hitpoints,
- [if(target_hitpoints <= 0, set(objects.vars.bosses, [])),
- if(object.vars.boss_hitpoints != target_hitpoints,
- # make the bar fill up asymptotically (filling another half every cycle) so that it looks cool and smooth, but cap this once the divisions reach roughly 1 pixel in size, so it doesn't take infinite time. This provides the looks cool benefits of gradually filling the bar, with an immediate sense of how far the current motion is going to reach (since humans are good at intuitively judging rates of change).#
- set(object.vars.boss_hitpoints,
- if( abs(target_hitpoints - object.vars.boss_hitpoints) < 0.001, target_hitpoints, object.vars.boss_hitpoints + (target_hitpoints - object.vars.boss_hitpoints)*0.15 )))
- ] where target_hitpoints = if(object.vars.bosses, (sum(map(object.vars.bosses, if(value.boss_hitpoints != null, value.boss_hitpoints, value.hitpoints))))/decimal(sum(map(object.vars.bosses, if(value.boss_max_hitpoints != null, value.boss_max_hitpoints, value.max_hitpoints)))), 0)),
- if(object.vars.powerup_time != level.local_player.vars.powerup_time,
- set(object.vars.powerup_time, object.vars.powerup_time + max(-2, min(10, level.local_player.vars.powerup_time - object.vars.powerup_time)))
- ),
- ]
- terminate called after throwing an instance of 'type_error'
- Aborted
Advertisement
Add Comment
Please, Sign In to add comment