DELTA 21401 43974 1501 SVNO!f-I:,T{-- Show a pop up telling the beginning of the story when the game starts.Roadside Picnic by StrugatskyENDREP DELTA 21460 256150 570 SVN,%y,y -- Place Ruins at the location of the destroyed city. function city_destroyed_callback(city, loser, destroyer) city.tile:create_base("Ruins", NIL) -- continue processing return false end signal.connect("city_destroyed", "city_destroyed_callback") -- Add random labels to the map. function place_map_labels() local mountains = 0 local deep_oceans = 0 local deserts = 0 local glaciers = 0 local selected_mountain = 0 local selected_ocean = 0 local selected_desert = 0 local selected_glacier = 0 -- Count the tiles that has a terrain type that may get a label. for place in whole_map_iterate() do local terr = place.terrain local tname = terr:rule_name() if tname == "Mountains" then mountains = mountains + 1 elseif tname == "Deep Ocean" then deep_oceans = deep_oceans + 1 elseif tname == "Desert" then deserts = deserts + 1 elseif tname == "Glacier" then glaciers = glaciers + 1 end end -- Decide if a label should be included and, in case it should, where. if random(1, 100) <= 75 then selected_mountains = random(1, mountains) end if random(1, 100) <= 75 then selected_ocean = random(1, deep_oceans) end if random(1, 100) <= 75 then selected_desert = random(1, deserts) end if random(1, 100) <= 75 then selected_glacier = random(1, glaciers) end -- Place the included labels at the location determined above. for place in whole_map_iterate() do local terr = place.terrain local tname = terr:rule_name() if tname == "Mountains" then selected_mountain = selected_mountain - 1 if selected_mountain == 0 then place:set_label(_("Highest Peak")) end elseif tname == "Deep Ocean" then selected_ocean = selected_ocean - 1 if selected_ocean == 0 then place:set_label(_("Deep Trench")) end elseif tname == "Desert" then selected_desert = selected_desert - 1 if selected_desert == 0 then place:set_label(_("Scorched Spot")) end elseif tname == "Glacier" then selected_glacier = selected_glacier - 1 if selected_glacier == 0 then place:set_label(_("Frozen Lake")) end end end return false end signal.connect("map_generated", "place_map_labels") ENDREP DELTA 22495 0 1837 SVNu%?\-J,iu@iDFF\x%Hlc-- Place Ruins at the location of the destroyed city.-- Add random labels to the map.-- Count the tiles that has a terrain type that may get a label.-- Decide if a label should be included and, in case it should, where.-- Place the included labels at the location determined above._("Highest Peak")_("Deep Trench")_("Scorched Spot")_("Frozen Lake")ENDREP DELTA 17319 20380 726 SVN_ wh-- Place Ruins at the location of the destroyed city. function city_destroyed_callback(city, loser, destroyer) city.tile:create_base(ENDREP DELTA 26775 0 3733 SVNc#-K,Gv|tCj0q-- Place Ruins at the location of the destroyed city.-- Look this up once, not each time building_built_handler() is called.-- Grant two techs when the wonder Darwin's Voyage is built.-- Look this up once, not each time tech_researched_handler() is called. phil_tech = find.tech_type("Philosophy") phil_id = phil_tech.id -- Grant one tech when the tech Philosophy is researched.-- no tech was researched.ENDREP id: 330.5m8.r26788/3619 type: file pred: 330.5m8.r23911/131 count: 14 text: 26788 2505 423 2853 349f286f442d1e80c4caf2b1e4610045 props: 10423 138 110 0 94a2a96823d3c54fff31bdd51de17982 cpath: /branches/S2_5/data/classic/script.lua copyroot: 21163 /trunk/data/classic/script.lua PLAIN K 11 Makefile.am V 22 file csz.5ck.r21258/55 K 17 buildings.ruleset V 23 file 8t.5na.r26545/5370 K 14 cities.ruleset V 23 file jx.5me.r26545/5665 K 15 effects.ruleset V 24 file 2wy.5l3.r26545/5078 K 12 game.ruleset V 23 file u8.5mg.r26545/7117 K 19 governments.ruleset V 23 file hi.5nc.r26545/6817 K 15 nations.ruleset V 23 file i7.5m0.r26545/7400 K 10 script.lua V 24 file 330.5m8.r26788/3619 K 13 techs.ruleset V 23 file 8u.5l9.r26545/6531 K 15 terrain.ruleset V 23 file gl.5l6.r26545/6241 K 13 units.ruleset V 23 file 8v.5ma.r26545/5953 END ENDREP id: csx.5kv.r26788/4455 type: dir pred: csx.5kv.r26545/8246 count: 135 text: 26788 3898 544 544 135f647b1dd4b1a1bbbfae8d068c73a2 props: 21472 352 47 0 bf36bdb5202732a1b9a911cc1234183c cpath: /branches/S2_5/data/classic copyroot: 22812 /branches/S2_5 id: fbg.5kv.r26788/4706 type: file pred: fbg.5kv.r22842/79 count: 2 text: 26788 0 129 1569 200797876bf0e230f4246190ac7ea31b cpath: /branches/S2_5/data/alien/script.lua copyroot: 22812 /branches/S2_5 PLAIN K 17 buildings.ruleset V 24 file fax.5kv.r25423/8676 K 14 cities.ruleset V 24 file faz.5kv.r25681/6661 K 15 effects.ruleset V 24 file fb0.5kv.r25681/6451 K 12 game.ruleset V 24 file fb1.5kv.r25415/4091 K 19 governments.ruleset V 25 file fb2.5kv.r25571/33248 K 6 nation V 23 dir fb3.5kv.r25502/1470 K 22 nation_effects.ruleset V 24 file fbe.5kv.r25502/1669 K 15 nations.ruleset V 26 file fbf.5kv.r24584/200026 K 10 script.lua V 24 file fbg.5kv.r26788/4706 K 13 techs.ruleset V 24 file fbh.5kv.r25676/9081 K 15 terrain.ruleset V 24 file fbi.5kv.r25920/7398 K 13 units.ruleset V 24 file fbj.5kv.r26488/2473 END ENDREP id: fav.5kv.r26788/5527 type: dir pred: fav.5kv.r26488/3300 count: 146 text: 26788 4906 608 608 9f5b4b6bc17d773470e76c586e4c5bd2 cpath: /branches/S2_5/data/alien copyroot: 22812 /branches/S2_5 id: fuw.5kv.r26788/5721 type: file pred: fuw.5kv.r23959/2054 count: 2 text: 26788 159 2316 2853 349f286f442d1e80c4caf2b1e4610045 cpath: /branches/S2_5/data/civ2civ3/script.lua copyroot: 22812 /branches/S2_5 PLAIN K 11 Makefile.am V 26 file fuo.5ck.r21460/328585 K 17 buildings.ruleset V 24 file fuq.5kv.r25479/2020 K 14 cities.ruleset V 26 file fur.5kv.r24584/201629 K 15 effects.ruleset V 23 file fus.5kv.r26667/739 K 12 game.ruleset V 24 file fut.5kv.r25415/7279 K 19 governments.ruleset V 26 file fuu.5kv.r24584/202734 K 15 nations.ruleset V 26 file fuv.5kv.r24584/203286 K 10 script.lua V 24 file fuw.5kv.r26788/5721 K 13 techs.ruleset V 25 file fux.5kv.r25414/18181 K 15 terrain.ruleset V 24 file fuy.5kv.r25920/6298 K 13 units.ruleset V 25 file fuz.5kv.r25787/17665 END ENDREP id: fum.5kv.r26788/6505 type: dir pred: fum.5kv.r26667/1583 count: 149 text: 26788 5929 563 563 2b79fdd8b064122b58c63bcf46267df5 props: 21472 647 47 0 bf36bdb5202732a1b9a911cc1234183c cpath: /branches/S2_5/data/civ2civ3 copyroot: 22812 /branches/S2_5 id: 4ke.5kv.r26788/6757 type: file pred: 4ke.5ck.r21577/3503 count: 4 text: 26788 2954 158 916 caabffb3dcb8116dfa26e36c2142c7bd cpath: /branches/S2_5/data/experimental/script.lua copyroot: 22812 /branches/S2_5 PLAIN K 11 Makefile.am V 24 file 4k6.5ck.r21140/3216 K 18 ai_effects.ruleset V 24 file 4k7.5kv.r23568/1183 K 17 buildings.ruleset V 24 file 4k8.5kv.r25449/7841 K 14 cities.ruleset V 26 file 4k9.5kv.r24584/212127 K 15 effects.ruleset V 25 file 4ka.5kv.r25026/24046 K 12 game.ruleset V 24 file 4kb.5kv.r25415/8381 K 19 governments.ruleset V 26 file 4kc.5kv.r24584/213015 K 15 nations.ruleset V 26 file cob.5kv.r24584/213458 K 10 script.lua V 24 file 4ke.5kv.r26788/6757 K 13 techs.ruleset V 25 file 4kf.5kv.r25414/19287 K 15 terrain.ruleset V 24 file 4kg.5kv.r25920/8423 K 13 units.ruleset V 25 file 4kh.5kv.r25787/18768 END ENDREP id: 4k5.5kv.r26788/7598 type: dir pred: 4k5.5kv.r25920/9272 count: 232 text: 26788 6968 617 617 fcb4be504eed493e32ec5827e34f5dd0 props: 17871 6210 47 0 c348519a2f02d6470452d3eca58ed415 cpath: /branches/S2_5/data/experimental copyroot: 22812 /branches/S2_5 id: 330.5l2.r26788/7855 type: file pred: 330.5l2.r26775/3758 count: 17 text: 26788 3141 452 4067 264a499676b7079cce5061df5fc0575b props: 10423 138 110 0 94a2a96823d3c54fff31bdd51de17982 cpath: /branches/S2_5/data/multiplayer/script.lua copyroot: 17702 /trunk/data/multiplayer PLAIN K 11 Makefile.am V 23 file 8f.5es.r21140/1890 K 18 ai_effects.ruleset V 22 file 3s4.5l2.r24991/98 K 17 buildings.ruleset V 24 file 8t.5l2.r25449/11122 K 14 cities.ruleset V 25 file jx.5l2.r24584/191142 K 15 effects.ruleset V 25 file 2wy.5l2.r25026/19577 K 12 game.ruleset V 21 file u8.5l2.r25573/53 K 19 governments.ruleset V 25 file hi.5l2.r24584/192283 K 15 nations.ruleset V 26 file cod.5l2.r24584/192854 K 10 script.lua V 24 file 330.5l2.r26788/7855 K 13 techs.ruleset V 24 file 8u.5l2.r25414/21403 K 15 terrain.ruleset V 23 file gl.5l2.r25920/4020 K 13 units.ruleset V 24 file 8v.5l2.r25787/12964 END ENDREP id: 89.5l2.r26788/8751 type: dir pred: 89.5l2.r26775/4652 count: 860 text: 26788 8132 606 606 0e1304aab1378458e59efb8a9c771fa7 props: 4431 6509 46 0 e473fc4bd409d833d90929dfcb3a14b8 cpath: /branches/S2_5/data/multiplayer copyroot: 17702 /trunk/data/multiplayer PLAIN K 10 Freeciv.in V 25 file 2ph.5ck.r20963/33531 K 11 Makefile.am V 22 file 5l.5ck.r22608/367 K 5 alien V 23 dir fav.5kv.r26788/5527 K 10 alien.serv V 23 file fbk.5ck.r22305/900 K 6 amplio V 25 dir 340.5kv.r24584/172584 K 15 amplio.tilespec V 24 file 34t.5kv.r25820/5080 K 7 amplio2 V 23 dir 4na.5kv.r25704/2421 K 16 amplio2.tilespec V 24 file 4oe.5kv.r25820/4290 K 9 buildings V 22 dir 3co.0.r12672/18420 K 10 cimpletoon V 26 dir 78f.5kv.r26002/2778845 K 19 cimpletoon.tilespec V 24 file 78i.5kv.r25820/3550 K 4 civ1 V 22 dir 8l.5kv.r26767/1239 K 9 civ1.serv V 23 file 8s.5ck.r20880/5228 K 4 civ2 V 22 dir ge.5kv.r26755/1201 K 9 civ2.serv V 23 file gj.5ck.r20880/5465 K 8 civ2civ3 V 23 dir fum.5kv.r26788/6505 K 13 civ2civ3.serv V 23 file fv0.5kv.r24156/112 K 16 civclient.dsc.in V 27 file 396.5ck.r21487/1507487 K 16 civserver.dsc.in V 27 file 397.5ck.r21487/1507238 K 17 civserver.room.in V 23 file 398.0.r12670/25531 K 7 classic V 23 dir csx.5kv.r26788/4455 K 12 classic.serv V 23 file n1h.5ck.r22608/212 K 12 database.lua V 24 file 6l2.5kv.r25799/5538 K 7 default V 23 dir 89.5kv.r25310/43590 K 12 default.serv V 25 file 2xa.5ck.r21163/12081 K 12 experimental V 23 dir 4k5.5kv.r26788/7598 K 17 experimental.serv V 24 file 4ki.5ck.r20880/5702 K 5 flags V 25 dir 2gl.5kv.r25316/158661 K 5 fonts V 24 dir 2lv.5bk.r13978/23004 K 19 freeciv-client.icns V 24 file 3fa.0.r12705/354534 K 18 freeciv-client.png V 24 file 33s.0.r12705/351588 K 19 freeciv-server.icns V 24 file 3fc.0.r12705/355017 K 18 freeciv-server.png V 25 file 3fd.5bk.r13732/27487 K 10 freeciv.rc V 21 file 2yj.0.r10123/605 K 14 freeciv.rc-2.0 V 25 file 11h.5ck.r16281/11565 K 8 graphics V 26 dir 2x2.5kv.r26002/2783283 K 13 gtk_menus.xml V 23 file 4hw.5kv.r22832/660 K 12 helpdata.txt V 22 file y.5kv.r25818/2310 K 5 hex2t V 24 dir 3dv.5kv.r25109/56920 K 14 hex2t.tilespec V 24 file 3e7.5kv.r25820/4028 K 5 icons V 24 dir 4cb.5ck.r20125/42857 K 7 isophex V 24 dir 2pl.5kv.r25109/55873 K 16 isophex.tilespec V 24 file 2pz.5kv.r25820/4816 K 10 isotrident V 25 dir 13p.5kv.r24584/176932 K 19 isotrident.tilespec V 24 file 148.5kv.r25820/3761 K 4 misc V 23 dir jl.5kv.r25310/42904 K 11 multiplayer V 22 dir 89.5l2.r26788/8751 K 16 multiplayer.serv V 24 file 2xa.5et.r17702/1849 K 6 nation V 23 dir ot.5kv.r25590/31273 K 9 scenarios V 22 dir io.5lg.r25392/1889 K 9 stdsounds V 23 dir 32g.5kv.r26513/8664 K 19 stdsounds.soundspec V 24 file 32y.5kv.r26513/6980 K 6 themes V 23 dir 2m6.5kv.r26687/2175 K 7 trident V 24 dir eb.5kv.r24584/225634 K 16 trident.tilespec V 23 file k4.5kv.r25820/4553 K 7 wonders V 25 dir 3qc.5kv.r24098/132856 END ENDREP id: w.5kv.r26788/11625 type: dir pred: w.5kv.r26775/7526 count: 2999 text: 26788 9013 2599 2599 1e43b2e4e0503e0a583ccc84c29e1078 props: 11355 32945 104 0 b8b28eed1bd4d902aad8c746f9403748 cpath: /branches/S2_5/data copyroot: 22812 /branches/S2_5 PLAIN K 9 ABOUT-NLS V 24 file fu.5kv.r23463/86338 K 7 AUTHORS V 24 file 5u.5ck.r22143/14016 K 7 COPYING V 19 file 1h.0.r9643/400 K 9 ChangeLog V 26 file 6l.5kv.r25637/6537782 K 7 INSTALL V 22 file 6.5kv.r25136/6183 K 11 Makefile.am V 21 file 59.5kv.r26663/76 K 4 NEWS V 24 file 6m.5kv.r25633/30575 K 6 README V 20 file 7.0.r4421/96382 K 2 ai V 21 dir 8.5kv.r26445/2693 K 10 autogen.sh V 23 file 12o.5kv.r24092/228 K 9 bootstrap V 23 dir 2p5.5kv.r25971/4686 K 6 client V 21 dir d.5kv.r26760/8785 K 6 common V 22 dir p.5kv.r26734/13040 K 12 configure.ac V 23 file 149.5kv.r26602/711 K 4 data V 22 dir w.5kv.r26788/11625 K 6 debian V 22 dir 5w.5kv.r23304/4091 K 12 dependencies V 23 dir 2yu.5kv.r26648/4305 K 11 diff_ignore V 24 file qq.5ck.r21039/26581 K 3 doc V 23 dir k7.5kv.r26715/14815 K 10 fc_version V 25 file 2lo.5kw.r26230/63926 K 2 m4 V 24 dir 12p.5kv.r26569/16589 K 7 scripts V 23 dir 2yo.5kv.r26113/1118 K 6 server V 21 dir z.5kv.r26785/4546 K 5 tests V 22 dir 2g9.5kv.r25380/686 K 5 tools V 24 dir 4pj.5lo.r26655/47707 K 12 translations V 23 dir t0n.5kv.r26574/5278 K 7 utility V 22 dir 1c.5kv.r26629/2991 K 3 vms V 25 dir u9.5ck.r21528/1396085 K 5 win32 V 23 dir 2eu.5kv.r25499/1616 END ENDREP id: 3.5kv.r26788/13076 type: dir pred: 3.5kv.r26785/5994 count: 17443 text: 26788 11871 1192 1192 9268708774bda80eba01f58d618a6000 props: 20140 3888 282 0 e4bb46e81629a60eef613b169b23a9ea cpath: /branches/S2_5 copyroot: 22812 /branches/S2_5 PLAIN K 5 S1_14 V 21 dir 3.21.r18109/18803 K 4 S2_0 V 21 dir 3.10x.r21862/4178 K 4 S2_1 V 22 dir 3.59e.r20026/11014 K 4 S2_2 V 21 dir 3.5cy.r21861/5036 K 4 S2_3 V 21 dir 3.5f2.r24391/5183 K 4 S2_4 V 21 dir 3.5ii.r26768/5358 K 4 S2_5 V 22 dir 3.5kv.r26788/13076 K 11 freeciv-web V 22 dir 3.5bl.r13594/14918 END ENDREP id: 1.0.r26788/13635 type: dir pred: 1.0.r26785/6550 count: 8165 text: 26788 13318 304 304 65bc496dd3e89abc5b04f4b93e6e44dc cpath: /branches copyroot: 0 / PLAIN K 8 branches V 20 dir 1.0.r26788/13635 K 4 tags V 19 dir 2.0.r25885/6524 K 5 trunk V 22 dir 3.5ck.r26787/13473 K 7 website V 21 dir 3ge.0.r22980/2263 END ENDREP id: 0.0.r26788/13958 type: dir pred: 0.0.r26787/13865 count: 26788 text: 26788 13791 154 154 52acfd9a74f74f3f0100b6499df64514 cpath: / copyroot: 0 / 330.5l2.t26787-1 modify true false /branches/S2_5/data/multiplayer/script.lua fbg.5kv.t26787-1 modify true false /branches/S2_5/data/alien/script.lua fuw.5kv.t26787-1 modify true false /branches/S2_5/data/civ2civ3/script.lua 4ke.5kv.t26787-1 modify true false /branches/S2_5/data/experimental/script.lua 330.5m8.t26787-1 modify true false /branches/S2_5/data/classic/script.lua 13958 14108