2015-12-08 10:41:05 +02:00
|
|
|
|
2015-12-01 08:42:52 +02:00
|
|
|
qualities
|
|
|
|
head:
|
2015-12-01 12:42:15 +02:00
|
|
|
bullets: qualities.integer("bullets".l()),
|
|
|
|
clips: qualities.integer("clips".l()),
|
|
|
|
enemies: qualities.integer("enemies".l()),
|
2015-12-01 08:42:52 +02:00
|
|
|
|
|
|
|
undum.game.init = (character, system) ->
|
|
|
|
system.setQuality("bullets", 6)
|
|
|
|
system.setQuality("clips", 6)
|
|
|
|
system.setQuality("enemies", 35)
|
2015-12-01 12:42:15 +02:00
|
|
|
character.sandbox.clips = [6,6,6,6,6,6]
|
2015-12-01 08:42:52 +02:00
|
|
|
character.sandbox.current_clip = 0
|
|
|
|
character.sandbox.nicked = 0
|
2015-12-01 11:43:51 +02:00
|
|
|
character.sandbox.seen_reload = 0
|
|
|
|
character.sandbox.seen_search = 0
|
2015-12-03 07:06:22 +02:00
|
|
|
character.sandbox.trick_shot = 0
|
2015-12-02 10:48:59 +02:00
|
|
|
character.sandbox.shots = 0
|
2015-12-03 07:06:22 +02:00
|
|
|
character.sandbox.killed = 0
|
2015-12-03 10:44:30 +02:00
|
|
|
character.sandbox.seen_pacifist = 0
|
|
|
|
character.sandbox.shot_pacifist = undefined
|
2015-12-02 09:20:18 +02:00
|
|
|
$("#title").click(() ->
|
|
|
|
$("#clip").fadeIn()
|
|
|
|
)
|
2015-12-07 16:04:17 +02:00
|
|
|
# setInterval( () ->
|
|
|
|
# console.log( 'Character object:', character )
|
|
|
|
#, 1000 );
|
|
|
|
|
2015-12-01 08:42:52 +02:00
|
|
|
window.onload = undum.begin
|