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 26772 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.5es.r26787/3619 type: file pred: 330.5es.r26772/3758 count: 17 text: 26787 3141 452 4067 264a499676b7079cce5061df5fc0575b props: 10423 138 110 0 94a2a96823d3c54fff31bdd51de17982 cpath: /trunk/data/multiplayer/script.lua copyroot: 17702 /trunk/data/multiplayer PLAIN K 11 Makefile.am V 24 file 8f.5es.r24528/31922 K 18 ai_effects.ruleset V 24 file 3s4.5es.r24990/1368 K 17 buildings.ruleset V 24 file 8t.5es.r26403/97589 K 14 cities.ruleset V 24 file jx.5es.r26403/97868 K 15 effects.ruleset V 25 file 2wy.5es.r26757/11652 K 12 game.ruleset V 24 file u8.5es.r26680/40162 K 19 governments.ruleset V 24 file hi.5es.r26403/96530 K 15 nations.ruleset V 25 file cod.5es.r26403/97086 K 10 script.lua V 24 file 330.5es.r26787/3619 K 14 styles.ruleset V 25 file zzr.5es.r26403/98416 K 13 techs.ruleset V 24 file 8u.5es.r26403/96256 K 15 terrain.ruleset V 23 file gl.5es.r26719/5409 K 13 units.ruleset V 24 file 8v.5es.r26403/98142 END ENDREP id: 89.5es.r26787/4561 type: dir pred: 89.5es.r26772/4698 count: 991 text: 26787 3888 660 660 704c406a649f0152a81ffbb37375a7bb props: 4431 6509 46 0 e473fc4bd409d833d90929dfcb3a14b8 cpath: /trunk/data/multiplayer copyroot: 17702 /trunk/data/multiplayer id: 330.5jo.r26787/4815 type: file pred: 330.5jo.r23910/131 count: 14 text: 26787 2505 423 2853 349f286f442d1e80c4caf2b1e4610045 props: 10423 138 110 0 94a2a96823d3c54fff31bdd51de17982 cpath: /trunk/data/classic/script.lua copyroot: 21163 /trunk/data/classic/script.lua PLAIN K 11 Makefile.am V 25 file csz.5ck.r24528/33291 K 17 buildings.ruleset V 23 file 8t.5ji.r26544/4563 K 14 cities.ruleset V 23 file jx.5jj.r26544/4850 K 15 effects.ruleset V 25 file 2wy.5jk.r26757/12857 K 12 game.ruleset V 24 file u8.5jl.r26680/42384 K 19 governments.ruleset V 23 file hi.5jm.r26544/3431 K 15 nations.ruleset V 23 file i7.5jn.r26544/3998 K 10 script.lua V 24 file 330.5jo.r26787/4815 K 14 styles.ruleset V 24 file zzn.5ck.r26544/5409 K 13 techs.ruleset V 23 file 8u.5jp.r26544/3152 K 15 terrain.ruleset V 23 file gl.5jq.r26719/6611 K 13 units.ruleset V 23 file 8v.5jr.r26544/5130 END ENDREP id: csx.5ck.r26787/5698 type: dir pred: csx.5ck.r26757/13755 count: 265 text: 26787 5086 599 599 a62f4f933cb00b7649fc3c8eec09bc2d props: 21472 352 47 0 bf36bdb5202732a1b9a911cc1234183c cpath: /trunk/data/classic copyroot: 15280 /trunk id: fuw.5ck.r26787/5934 type: file pred: fuw.5ck.r23958/2054 count: 2 text: 26787 159 2316 2853 349f286f442d1e80c4caf2b1e4610045 cpath: /trunk/data/civ2civ3/script.lua copyroot: 15280 /trunk PLAIN K 11 Makefile.am V 25 file fuo.5ck.r24528/35815 K 17 buildings.ruleset V 25 file fuq.5ck.r26403/89864 K 14 cities.ruleset V 25 file fur.5ck.r26543/72644 K 15 effects.ruleset V 24 file fus.5ck.r26757/9401 K 12 game.ruleset V 25 file fut.5ck.r26680/37916 K 19 governments.ruleset V 25 file fuu.5ck.r26403/91363 K 15 nations.ruleset V 25 file fuv.5ck.r26403/91884 K 10 script.lua V 24 file fuw.5ck.r26787/5934 K 14 styles.ruleset V 25 file zzl.5ck.r26403/90643 K 13 techs.ruleset V 25 file fux.5ck.r26403/91105 K 15 terrain.ruleset V 25 file fuy.5ck.r26719/10447 K 13 units.ruleset V 25 file fuz.5ck.r26543/72387 END ENDREP id: fum.5ck.r26787/6753 type: dir pred: fum.5ck.r26757/10285 count: 292 text: 26787 6126 614 614 79e1f9c567e2366eb6edaf5efcaf8343 props: 21472 647 47 0 bf36bdb5202732a1b9a911cc1234183c cpath: /trunk/data/civ2civ3 copyroot: 15280 /trunk id: fbg.5ck.r26787/6990 type: file pred: fbg.5ck.r22841/79 count: 2 text: 26787 0 129 1569 200797876bf0e230f4246190ac7ea31b cpath: /trunk/data/alien/script.lua copyroot: 15280 /trunk PLAIN K 11 Makefile.am V 24 file o99.5ck.r25561/8893 K 17 buildings.ruleset V 26 file fax.5ck.r26403/106912 K 14 cities.ruleset V 26 file faz.5ck.r26403/107113 K 15 effects.ruleset V 25 file fb0.5ck.r26757/13993 K 12 game.ruleset V 25 file fb1.5ck.r26680/43513 K 19 governments.ruleset V 24 file fb2.5ck.r26719/9289 K 6 nation V 23 dir fb3.5ck.r26719/9049 K 22 nation_effects.ruleset V 24 file fbe.5ck.r25501/1912 K 15 nations.ruleset V 23 file fbf.5ck.r26674/621 K 10 script.lua V 24 file fbg.5ck.r26787/6990 K 14 styles.ruleset V 26 file zzf.5ck.r26403/107507 K 13 techs.ruleset V 23 file fbh.5ck.r26674/428 K 15 terrain.ruleset V 25 file fbi.5ck.r26684/29940 K 13 units.ruleset V 24 file fbj.5ck.r26487/4333 END ENDREP id: fav.5ck.r26787/7896 type: dir pred: fav.5ck.r26757/14910 count: 268 text: 26787 7174 709 709 30ee4026b01a725846ae9de1c0d4fed1 props: 23744 7507 47 0 bf36bdb5202732a1b9a911cc1234183c cpath: /trunk/data/alien copyroot: 15280 /trunk id: 4ke.5ck.r26787/8131 type: file pred: 4ke.5ck.r21577/3503 count: 4 text: 26787 2954 158 916 caabffb3dcb8116dfa26e36c2142c7bd cpath: /trunk/data/experimental/script.lua copyroot: 15280 /trunk PLAIN K 11 Makefile.am V 25 file 4k6.5ck.r24528/37049 K 18 ai_effects.ruleset V 24 file 4k7.5ck.r24758/4740 K 17 buildings.ruleset V 25 file 4k8.5ck.r26403/93477 K 14 cities.ruleset V 25 file 4k9.5ck.r26403/93685 K 15 effects.ruleset V 25 file 4ka.5ck.r26757/10523 K 12 game.ruleset V 23 file 4kb.5ck.r26781/290 K 19 governments.ruleset V 25 file 4kc.5ck.r26403/94709 K 15 nations.ruleset V 24 file cob.5ck.r26565/2923 K 10 script.lua V 24 file 4ke.5ck.r26787/8131 K 14 styles.ruleset V 25 file zzp.5ck.r26403/94093 K 13 techs.ruleset V 25 file 4kf.5ck.r26403/94505 K 15 terrain.ruleset V 25 file 4kg.5ck.r26719/11569 K 13 units.ruleset V 25 file 4kh.5ck.r26403/93889 END ENDREP id: 4k5.5ck.r26787/9005 type: dir pred: 4k5.5ck.r26781/1166 count: 369 text: 26787 8326 666 666 618f90cacfe7af503e940b57b479faa8 props: 17871 6210 47 0 c348519a2f02d6470452d3eca58ed415 cpath: /trunk/data/experimental copyroot: 15280 /trunk PLAIN K 10 Freeciv.in V 24 file 2ph.5ck.r26579/1616 K 11 Makefile.am V 21 file 5l.5ck.r26669/46 K 5 alien V 23 dir fav.5ck.r26787/7896 K 10 alien.serv V 23 file fbk.5ck.r22305/900 K 6 amplio V 24 dir 340.5ck.r24432/28130 K 15 amplio.tilespec V 24 file 34t.5ck.r26509/4994 K 7 amplio2 V 23 dir 4na.5ck.r25703/2374 K 16 amplio2.tilespec V 24 file 4oe.5ck.r26509/3815 K 9 buildings V 22 dir 3co.0.r12672/18420 K 10 cimpletoon V 26 dir 78f.5ck.r26001/2779465 K 19 cimpletoon.tilespec V 24 file 78i.5ck.r26509/4061 K 4 civ1 V 22 dir 8l.5ck.r26766/1038 K 9 civ1.serv V 23 file 8s.5ck.r20880/5228 K 4 civ2 V 22 dir ge.5ck.r26757/9170 K 9 civ2.serv V 23 file gj.5ck.r20880/5465 K 8 civ2civ3 V 23 dir fum.5ck.r26787/6753 K 13 civ2civ3.serv V 23 file fv0.5ck.r24155/112 K 7 classic V 23 dir csx.5ck.r26787/5698 K 12 classic.serv V 23 file n1h.5ck.r22608/212 K 12 database.lua V 24 file 6l2.5ck.r25798/5719 K 7 default V 22 dir 89.5ck.r25112/4292 K 12 default.serv V 25 file 2xa.5ck.r21163/12081 K 12 experimental V 23 dir 4k5.5ck.r26787/9005 K 17 experimental.serv V 24 file 4ki.5ck.r20880/5702 K 5 flags V 25 dir 2gl.5ck.r25315/158474 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.5ck.r26001/2783854 K 13 gtk_menus.xml V 25 file 4hw.5ck.r26137/21048 K 12 helpdata.txt V 23 file y.5ck.r26139/10668 K 5 hex2t V 24 dir 3dv.5ck.r25100/56861 K 14 hex2t.tilespec V 24 file 3e7.5ck.r26509/5240 K 9 hexemplio V 24 dir 1dwq.5ck.r26619/3838 K 18 hexemplio.tilespec V 28 file 1dxl.5ck.r26541/1958254 K 5 icons V 24 dir 4cb.5ck.r20125/42857 K 7 isophex V 24 dir 2pl.5ck.r25100/55852 K 16 isophex.tilespec V 24 file 2pz.5ck.r26509/4497 K 10 isotrident V 24 dir 13p.5ck.r24432/29976 K 19 isotrident.tilespec V 24 file 148.5ck.r26509/4744 K 4 misc V 23 dir jl.5ck.r26563/27152 K 11 multiplayer V 22 dir 89.5es.r26787/4561 K 16 multiplayer.serv V 24 file 2xa.5et.r17702/1849 K 6 nation V 23 dir ot.5ck.r25588/32684 K 8 override V 23 dir 14ks.5ck.r25526/900 K 9 scenarios V 22 dir io.5g6.r25391/1874 K 8 stdmusic V 23 dir 146c.5ck.r25526/607 K 18 stdmusic.musicspec V 27 file 10u1.5ck.r25054/880190 K 9 stdsounds V 23 dir 32g.5ck.r26512/8768 K 19 stdsounds.soundspec V 25 file 32y.5ck.r26563/24772 K 4 stub V 25 dir 1556.5ck.r26684/28625 K 9 stub.serv V 26 file 155p.5ck.r25199/65944 K 6 themes V 23 dir 2m6.5ck.r26686/2203 K 16 toonhex.tilespec V 25 file 1ef5.5ck.r26601/9341 K 7 trident V 23 dir eb.5ck.r24432/44369 K 16 trident.tilespec V 23 file k4.5ck.r26509/4253 K 7 wonders V 25 dir 3qc.5ck.r24097/132835 END ENDREP id: w.5ck.r26787/12076 type: dir pred: w.5ck.r26781/4240 count: 3218 text: 26787 9246 2817 2817 39b516b5011b2a403da7e85bbc9a12ba props: 11355 32945 104 0 b8b28eed1bd4d902aad8c746f9403748 cpath: /trunk/data copyroot: 15280 /trunk PLAIN K 9 ABOUT-NLS V 24 file fu.5ck.r23462/85000 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.5ck.r22811/6091752 K 7 INSTALL V 22 file 6.5ck.r26104/4084 K 11 Makefile.am V 23 file 59.5ck.r26717/4500 K 4 NEWS V 24 file 6m.5ck.r25634/30702 K 6 README V 20 file 7.0.r4421/96382 K 2 ai V 21 dir 8.5ck.r26765/1357 K 10 autogen.sh V 24 file 12o.5ck.r25794/4003 K 9 bootstrap V 23 dir 2p5.5ck.r26519/2055 K 6 client V 21 dir d.5ck.r26782/7654 K 6 common V 22 dir p.5ck.r26769/17051 K 12 configure.ac V 23 file 149.5ck.r26725/156 K 4 data V 22 dir w.5ck.r26787/12076 K 12 dependencies V 23 dir 2yu.5ck.r26647/4287 K 11 diff_ignore V 23 file qq.5ck.r24665/2850 K 3 doc V 23 dir k7.5ck.r26758/16582 K 10 fc_version V 25 file 2lo.5en.r26769/17281 K 2 m4 V 24 dir 12p.5ck.r26633/88803 K 7 scripts V 23 dir 2yo.5ck.r26112/1112 K 6 server V 21 dir z.5ck.r26784/4399 K 5 tests V 22 dir 2g9.5ck.r26668/853 K 5 tools V 23 dir 4pj.5js.r26733/5957 K 12 translations V 23 dir t0a.5ck.r26688/7785 K 7 utility V 22 dir 1c.5ck.r26786/4541 K 3 vms V 25 dir u9.5ck.r21528/1396085 K 5 win32 V 23 dir 2eu.5ck.r25498/1618 END ENDREP id: 3.5ck.r26787/13473 type: dir pred: 3.5ck.r26786/5937 count: 18475 text: 26787 12306 1154 1154 b52746da04129079fc798c443fcf9e81 props: 23244 4830 282 0 e4bb46e81629a60eef613b169b23a9ea cpath: /trunk copyroot: 15280 /trunk PLAIN K 8 branches V 19 dir 1.0.r26785/6550 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.r26787/13865 type: dir pred: 0.0.r26786/6326 count: 26787 text: 26787 13699 153 153 e5ac72f7d8bdb44a62c1c535a0659ab7 cpath: / copyroot: 0 / 330.5es.t26786-1 modify true false /trunk/data/multiplayer/script.lua fbg.5ck.t26786-1 modify true false /trunk/data/alien/script.lua fuw.5ck.t26786-1 modify true false /trunk/data/civ2civ3/script.lua 4ke.5ck.t26786-1 modify true false /trunk/data/experimental/script.lua 330.5jo.t26786-1 modify true false /trunk/data/classic/script.lua 13865 14014