vaendryl / Sunrider

source code of the visual novel 'Sunrider'
http://sunrider-vn.com/
41 stars 21 forks source link

No label gameover? #66

Closed DoumanAsh closed 9 years ago

DoumanAsh commented 9 years ago

I cannot find this label in code...

vaendryl commented 9 years ago

I think the label is sunrider_destroyed and it's in the file combatlabels.rpy. this label shows the gameover background and gives the option to reload the battle or load a save game.

DoumanAsh commented 9 years ago

Also i noticed strange place in code for Battleship.receive_damage()

else:

            if self.faction == 'Player' and wtype == 'Vanguard':
                try:
                    renpy.call_in_new_context('hitlegion_{}'.format(self.animation_name)) #you just got pwnd, son.
                except:
                    show_message('missing animation. "hitlegion_{}" does\'t seem to exist'.format(self.animation_name))
                show_message( 'the {} was obliterated. Game Over.'.format(self.name) )
                BM.you_lose()
vaendryl commented 9 years ago

there was a wrong bit in the BM.you_lose method (line 927) but I fixed it.

that other code is related to the new feature for beta 7: the Legion is coming to ruin your day.

DoumanAsh commented 9 years ago

Well each time when Vanguard is used you just gonna loose?

vaendryl commented 9 years ago

if it hits you, yeah. you get a turn advanced warning. you're suposed to move out of the way you can test it if you want. just rename an enemy to 'Legion'.

e.g. enemy_ships[0].name = 'Legion' in the test battle.

DoumanAsh commented 9 years ago

Ok, but Shouldn't it Sunrider specific?

vaendryl commented 9 years ago

no. any ryder that gets hit with it is not able to escape. the girl dies and that is not allowed. the beam from the Legion is far far far far far more powerful than what the sunrider itself can manage. it does 10 thousand damage :) (not that it matters, you die regardless)

DoumanAsh commented 9 years ago

Ok, got it