-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathmodule_scene_props.py
More file actions
6217 lines (5766 loc) · 331 KB
/
module_scene_props.py
File metadata and controls
6217 lines (5766 loc) · 331 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
from header_common import *
from header_scene_props import *
from header_operations import *
from header_triggers import *
from header_sounds import *
from module_constants import *
from header_mission_templates import *
from module_info import wb_compile_switch as is_a_wb_sceneprop
import string
####################################################################################################################
# Each scene prop record contains the following fields:
# 1) Scene prop id: used for referencing scene props in other files. The prefix spr_ is automatically added before each scene prop id.
# 2) Scene prop flags. See header_scene_props.py for a list of available flags
# 3) Mesh name: Name of the mesh.
# 4) Physics object name:
# 5) Triggers: Simple triggers that are associated with the scene prop
####################################################################################################################
dead_marches_effect = [
] + (is_a_wb_sceneprop==1 and [
(ti_on_init_scene_prop, [(store_trigger_param_1, ":instance_no"),
#(neg|is_edit_mode_enabled),
(scene_prop_set_visibility, ":instance_no", 0)
]),
(ti_on_scene_prop_is_animating,[(store_trigger_param_1, ":instance_no"),
(scene_prop_slot_eq, ":instance_no", slot_prop_active, 0),
(prop_instance_get_position, pos6, ":instance_no"),
(position_move_z, pos6, 200, 1),
(position_get_z, ":height", pos6),
(gt, ":height", 0),
(particle_system_burst, "psys_candle_light_small", pos6, 3),
]),
(ti_on_scene_prop_animation_finished,[
(store_trigger_param_1, ":instance_no"),
(try_begin),
(scene_prop_slot_eq, ":instance_no", slot_prop_active, 0),
(scene_prop_set_slot, ":instance_no", slot_prop_active, 1),
(particle_system_burst, "psys_candle_light_small", pos6, 60),
(set_fixed_point_multiplier, 100),
(prop_instance_get_position, pos6, ":instance_no"),
(position_move_z, pos6, -100),
(prop_instance_animate_to_position, ":instance_no", pos6, 700),
(else_try),
(scene_prop_set_visibility, ":instance_no", 0),
(try_end),
])
] or []) + [
]
scene_props = [
("invalid_object",0,"question_mark","0", []),
("inventory",sokf_type_container|sokf_place_at_origin,"package","bobaggage", []),
("empty", 0, "0", "0", []),
#MV: disabled container for all chests except inventory and player chest
# ("chest_a",sokf_type_container,"chest_gothic","bochest_gothic", []),
("chest_a",0,"chest_gothic","bochest_gothic", []),
# ("container_small_chest",sokf_type_container,"package","bobaggage", []),
("container_small_chest",0,"package","bobaggage", []),
# ("container_chest_b",sokf_type_container,"chest_b","bo_chest_b", []),
("container_chest_b",0,"chest_b_new","bo_chest_b", []),
# ("container_chest_c",sokf_type_container,"chest_c","bo_chest_c", []),
("container_chest_c",0,"chest_c_new","bo_chest_c", []),
("player_chest",sokf_type_container,"player_chest","bo_player_chest", []),
("locked_player_chest",0,"player_chest","bo_player_chest", []),
("light_sun",sokf_invisible,"light_sphere","0", [
(ti_on_init_scene_prop,
[ (neg|is_currently_night),
(store_trigger_param_1, ":prop_instance_no"),
(set_fixed_point_multiplier, 100),
(prop_instance_get_scale, pos5, ":prop_instance_no"),
(position_get_scale_x, ":scale", pos5),
(store_time_of_day,reg(12)),
(try_begin),
(is_between,reg(12),5,20),
(store_mul, ":red", 5 * 200, ":scale"),
(store_mul, ":green", 5 * 193, ":scale"),
(store_mul, ":blue", 5 * 180, ":scale"),
(else_try),
(store_mul, ":red", 5 * 90, ":scale"),
(store_mul, ":green", 5 * 115, ":scale"),
(store_mul, ":blue", 5 * 150, ":scale"),
(try_end),
(val_div, ":red", 100),
(val_div, ":green", 100),
(val_div, ":blue", 100),
(set_current_color,":red", ":green", ":blue"),
(set_position_delta,0,0,0),
(add_point_light, 0, 0),
])]),
("light",sokf_invisible,"light_sphere","0", [
(ti_on_init_scene_prop,
[ (store_trigger_param_1, ":prop_instance_no"),
(set_fixed_point_multiplier, 100),
(prop_instance_get_scale, pos5, ":prop_instance_no"),
(position_get_scale_x, ":scale", pos5),
(store_mul, ":red", 3 * 200, ":scale"),
(store_mul, ":green", 3 * 145, ":scale"),
(store_mul, ":blue", 3 * 45, ":scale"),
(val_div, ":red", 100),
(val_div, ":green", 100),
(val_div, ":blue", 100),
(set_current_color,":red", ":green", ":blue"),
(set_position_delta,0,0,0),
(add_point_light, 10, 30),
])]),
("light_red",sokf_invisible,"light_sphere","0", [
(ti_on_init_scene_prop,
[ (store_trigger_param_1, ":prop_instance_no"),
(set_fixed_point_multiplier, 100),
(prop_instance_get_scale, pos5, ":prop_instance_no"),
(position_get_scale_x, ":scale", pos5),
(store_mul, ":red", 2 * 170, ":scale"),
(store_mul, ":green", 2 * 100, ":scale"),
(store_mul, ":blue", 2 * 30, ":scale"),
(val_div, ":red", 100),
(val_div, ":green", 100),
(val_div, ":blue", 100),
(set_current_color,":red", ":green", ":blue"),
(set_position_delta,0,0,0),
(add_point_light, 20, 30),
])]),
("light_night",sokf_invisible,"light_sphere","0", [
(ti_on_init_scene_prop,
[ # (store_time_of_day,reg(12)),
# (neg|is_between,reg(12),5,20),
(is_currently_night, 0),
(store_trigger_param_1, ":prop_instance_no"),
(set_fixed_point_multiplier, 100),
(prop_instance_get_scale, pos5, ":prop_instance_no"),
(position_get_scale_x, ":scale", pos5),
(store_mul, ":red", 3 * 160, ":scale"),
(store_mul, ":green", 3 * 145, ":scale"),
(store_mul, ":blue", 3 * 100, ":scale"),
(val_div, ":red", 100),
(val_div, ":green", 100),
(val_div, ":blue", 100),
(set_current_color,":red", ":green", ":blue"),
(set_position_delta,0,0,0),
(add_point_light, 10, 30),
])]),
("torch",0,"torch_a","0",
[(ti_on_init_scene_prop,
[ (set_position_delta,0,-35,48),
(particle_system_add_new, "psys_torch_fire"),
(particle_system_add_new, "psys_torch_smoke"),
(particle_system_add_new, "psys_torch_fire_sparks"),
#(play_sound, "snd_torch_loop", 0), #InVain disabled to prevent sound overflow
] + (is_a_wb_sceneprop==1 and [
(store_trigger_param_1, ":instance_no"),
(scene_prop_set_slot, ":instance_no", slot_prop_sound, "snd_torch_loop"),
] or []) + [
(set_position_delta,0,-35,56),
(particle_system_add_new, "psys_fire_glow_1"),
# (particle_system_emit, "psys_fire_glow_1",9000000),
#second method
(get_trigger_object_position, pos2),
(set_position_delta,0,0,0),
(position_move_y, pos2, -35),
(position_move_z, pos2, 55),
(particle_system_burst, "psys_fire_glow_fixed", pos2, 1),
])]),
("torch_night",0,"torch_a","0",
[(ti_on_init_scene_prop,
[# (store_time_of_day,reg(12)),
# (neg|is_between,reg(12),5,20),
(is_currently_night, 0),
(set_position_delta,0,-35,48),
(particle_system_add_new, "psys_torch_fire"),
(particle_system_add_new, "psys_torch_smoke"),
(particle_system_add_new, "psys_torch_fire_sparks"),
(set_position_delta,0,-35,56),
(particle_system_add_new, "psys_fire_glow_1"),
(particle_system_emit, "psys_fire_glow_1",9000000),
#(play_sound, "snd_torch_loop", 0), #InVain disabled to prevent sound overflow
] + (is_a_wb_sceneprop==1 and [
(store_trigger_param_1, ":instance_no"),
(scene_prop_set_slot, ":instance_no", slot_prop_sound, "snd_torch_loop"),
] or []) + [
])]),
# ("Baggage",sokf_place_at_origin|sokf_entity_body,"package","bobaggage"),
("barrier_20m",sokf_invisible|sokf_type_barrier,"barrier_20m","bo_barrier_20m", []),
("barrier_16m",sokf_invisible|sokf_type_barrier,"barrier_16m","bo_barrier_16m", []),
("barrier_8m" ,sokf_invisible|sokf_type_barrier,"barrier_8m" ,"bo_barrier_8m" , []),
("barrier_4m" ,sokf_invisible|sokf_type_barrier,"barrier_4m" ,"bo_barrier_4m" , []),
("barrier_2m" ,sokf_invisible|sokf_type_barrier,"barrier_2m" ,"bo_barrier_2m" , []),
("exit_4m" ,sokf_invisible|sokf_type_barrier_leave,"barrier_4m" ,"bo_barrier_4m" , []),
("exit_8m" ,sokf_invisible|sokf_type_barrier_leave,"barrier_8m" ,"bo_barrier_8m" , []),
("exit_16m" ,sokf_invisible|sokf_type_barrier_leave,"barrier_16m" ,"bo_barrier_16m" , []),
("ai_limiter_2m" ,sokf_invisible|sokf_type_ai_limiter,"barrier_2m" ,"bo_barrier_2m" , []),
("ai_limiter_4m" ,sokf_invisible|sokf_type_ai_limiter,"barrier_4m" ,"bo_barrier_4m" , []),
("ai_limiter_8m" ,sokf_invisible|sokf_type_ai_limiter,"barrier_8m" ,"bo_barrier_8m" , []),
("ai_limiter_16m",sokf_invisible|sokf_type_ai_limiter,"barrier_16m","bo_barrier_16m", []),
("barrier_player_8m",sokf_invisible|sokf_type_player_limiter|sokf_moveable,"barrier_8m","bo_barrier_8m", []),
("shelves",0,"shelves","boshelves", []),
("table_tavern",0,"table_tavern","botable_tavern", []),
("table_castle_a",0,"table_castle_a","bo_table_castle_a", []),
("chair_castle_a",0,"chair_castle_a","0", []),
("pillow_a",0,"pillow_a","bo_pillow", []),
("pillow_b",0,"pillow_b","bo_pillow", []),
("pillow_c",0,"pillow_c","0", []),
("interior_castle_g_square_keep_b",0,"0","0", []), #unused
("carpet_with_pillows_a",0,"carpet_with_pillows_a","bo_carpet_with_pillows", []),
("carpet_with_pillows_b",0,"carpet_with_pillows_b","bo_carpet_with_pillows", []),
# ("table_round_a",0,"table_round_a","bo_table_round_a", []),
("table_round_b",0,"table_round_b","bo_table_round_b", []),
("fireplace_b",0,"fireplace_b","bo_fireplace_b", []),
("fireplace_c",0,"fireplace_c","bo_fireplace_c", []),
# ("sofa_a",0,"sofa_a","bo_sofa", []),
("sofa_b",0,"sofa_b","bo_sofa", []),
("ewer_a",0,"ewer_a_new","bo_ewer_a", []),
("end_table_a",0,"end_table_a","bo_end_table_a", []),
# ("fake_houses_steppe_a",0,"fake_houses_steppe_a","0", []),
# ("fake_houses_steppe_b",0,"fake_houses_steppe_b","0", []),
# ("fake_houses_steppe_c",0,"fake_houses_steppe_c","0", []),
("boat_destroy",0,"boat_destroy","bo_boat_destroy", []),
("destroy_house_a",0,"destroy_house_a","bo_destroy_house_a", []),
("destroy_house_a_E",0,"destroy_house_a","0", []),
("destroy_house_b",0,"destroy_house_b","bo_destroy_house_b", []),
("destroy_house_b_E",0,"destroy_house_b","0", []),
("destroy_house_c",0,"destroy_house_c","bo_destroy_house_c", []),
("destroy_house_c_E",0,"destroy_house_c","0", []),
("destroy_heap",0,"destroy_heap","bo_destroy_heap", []),
("destroy_heap_E",0,"destroy_heap","0", []),
("destroy_castle_a",0,"destroy_castle_a","bo_destroy_castle_a", []),
("destroy_castle_c_dwarf",0,"destroy_castle_c_dwarf","bo_destroy_castle_c", []),
("destroy_castle_b",0,"destroy_castle_b","bo_destroy_castle_b", []),
("destroy_castle_b_E",0,"destroy_castle_b","0", []),
("destroy_castle_c",0,"destroy_castle_c","bo_destroy_castle_c", []),
("destroy_castle_c_E",0,"destroy_castle_c","0", []),
("destroy_castle_d",0,"destroy_castle_d","bo_destroy_castle_d", []),
("destroy_castle_d_E",0,"destroy_castle_d","0", []),
("destroy_windmill",0,"destroy_windmill","bo_destroy_windmill", []),
("destroy_windmill_E",0,"destroy_windmill","0", []),
("destroy_tree_a",0,"destroy_tree_a","bo_destroy_tree_a", []),
("destroy_tree_a_E",0,"destroy_tree_a","0", []),
("destroy_tree_b",0,"destroy_tree_b","bo_destroy_tree_b", []),
("destroy_tree_b_E",0,"destroy_tree_b","0", []),
("destroy_bridge_a",0,"destroy_bridge_a","bo_destroy_bridge_a", []),
("destroy_bridge_a_E",0,"destroy_bridge_a","0", []),
("destroy_bridge_b",0,"destroy_bridge_b","bo_destroy_bridge_b", []),
("destroy_bridge_b_E",0,"destroy_bridge_b","0", []),
("Catapult",0,"Catapult","bo_Catapult", []),
("broom",0,"broom","0", []),
("garlic",0,"garlic","0", []),
("garlic_b",0,"garlic_b","0", []),
("destroy_a",0,"destroy_a","0", []),
("destroy_b",0,"destroy_b","0", []),
("bridge_wooden",0,"bridge_wooden","bo_bridge_wooden", []),
# ("bridge_wooden_snowy",0,"bridge_wooden_snowy","bo_bridge_wooden", []),
("grave_a",0,"grave_a","bo_grave_a", []),
("village_house_e",0,"village_house_e","bo_village_house_e", []),
("arabian_house_a2",0,"arabian_house_a2","bo_arabian_house_a2", []),
("village_house_f",0,"village_house_f","bo_village_house_f", []),
("arabian_village_house_a",0,"arabian_village_house_a","bo_arabian_village_house_a", []),
("village_house_g",0,"village_house_g","bo_village_house_g", []),
("arabian_village_house_b",0,"arabian_village_house_b","bo_arabian_village_house_b", []),
("village_house_h",0,"village_house_h","bo_village_house_h", []),
("arabian_village_house_c",0,"arabian_village_house_c","bo_arabian_village_house_c", []),
("village_house_i",0,"village_house_i","bo_village_house_i", []),
("arabian_village_house_d",0,"arabian_village_house_d","bo_arabian_village_house_d", []),
("village_house_j",0,"village_house_j","bo_village_house_j", []),
("arabian_village_stable",0,"arabian_village_stable","bo_arabian_village_stable", []),
("village_wall_a",0,"village_wall_a","bo_village_wall_a", []),
("arabian_village_hut",0,"arabian_village_hut","bo_arabian_village_hut", []),
("village_wall_b",0,"village_wall_b","bo_village_wall_b", []),
("arabian_village_stairs",sokf_type_ladder,"arabian_village_stairs","bo_arabian_village_stairs", []),
("village_snowy_house_a",0,"village_snowy_house_a","bo_village_snowy_house_a", []),
("village_snowy_house_b",0,"village_snowy_house_b","bo_village_snowy_house_b", []),
("village_snowy_house_c",0,"village_snowy_house_c","bo_village_snowy_house_c", []),
("village_snowy_house_d",0,"village_snowy_house_d","bo_village_snowy_house_d", []),
("village_snowy_house_e",0,"village_snowy_house_e","bo_village_snowy_house_e", []),
("village_snowy_house_f",0,"village_snowy_house_f","bo_village_snowy_house_f", []),
# ("town_house_steppe_a",0,"town_house_steppe_a","bo_town_house_steppe_a", []),
# ("town_house_steppe_b",0,"town_house_steppe_b","bo_town_house_steppe_b", []),
# ("town_house_steppe_c",0,"town_house_steppe_c","bo_town_house_steppe_c", []),
# ("town_house_steppe_d",0,"town_house_steppe_d","bo_town_house_steppe_d", []),
# ("town_house_steppe_e",0,"town_house_steppe_e","bo_town_house_steppe_e", []),
# ("town_house_steppe_f",0,"town_house_steppe_f","bo_town_house_steppe_f", []),
# ("town_house_steppe_g",0,"town_house_steppe_g","bo_town_house_steppe_g", []),
# ("town_house_steppe_h",0,"town_house_steppe_h","bo_town_house_steppe_h", []),
# ("town_house_steppe_i",0,"town_house_steppe_i","bo_town_house_steppe_i", []),
# ("carpet_a",0,"carpet_a","0", []),
# ("carpet_b",0,"carpet_b","0", []),
# ("carpet_c",0,"carpet_c","0", []),
# ("carpet_d",0,"carpet_d","0", []),
# ("carpet_e",0,"carpet_e","0", []),
("carpet_f",0,"carpet_f_new","bo_carpet_f_new", []),
# ("awning_a",0,"awning_a","bo_awning", []),
("awning_b",0,"awning_b","bo_awning", []),
# ("awning_c",0,"awning_c","bo_awning", []),
# ("awning_long",0,"awning_long","bo_awning_long", []),
# ("awning_long_b",0,"awning_long_b","bo_awning_long", []),
("awning_d",0,"awning_d","bo_awning_d", []),
("snowy_barrel_a",0,"snowy_barrel_a","bo_snowy_barrel_a", []),
("snowy_fence",0,"snowy_fence","bo_snowy_fence", []),
("snowy_wood_heap",0,"snowy_wood_heap","bo_snowy_wood_heap", []),
("village_snowy_stable_a",0,"village_snowy_stable_a","bo_village_snowy_stable_a", []),
("village_straw_house_a",0,"village_straw_house_a","bo_village_straw_house_a", []),
("awning_long_b",0,"awning_long_b","bo_awning_long", []),
("village_stable_a",0,"village_stable_a","bo_village_stable_a", []),
("awning_long",0,"awning_long","bo_awning_long", []),
("village_shed_a",0,"village_shed_a","bo_village_shed_a", []),
("awning_a",0,"awning_a","bo_awning", []),
("village_shed_b",0,"village_shed_b","bo_village_shed_b", []),
("awning_c",0,"awning_c","bo_awning", []),
# ("trunks_snowy",0,"trunks_snowy","0", []),
("dungeon_door_cell_a",0,"dungeon_door_cell_a","bo_dungeon_door_cell_a", []),
("dungeon_door_cell_b",0,"dungeon_door_cell_b","bo_dungeon_door_cell_b", []),
("dungeon_door_entry_a",0,"dungeon_door_entry_a","bo_dungeon_door_entry_a", []),
("dungeon_door_entry_b",0,"dungeon_door_entry_b","bo_dungeon_door_entry_a", []),
("dungeon_door_entry_c",0,"dungeon_door_entry_c","bo_dungeon_door_entry_a", []),
("dungeon_door_direction_a",0,"dungeon_door_direction_a","bo_dungeon_door_direction_a", []),
("dungeon_door_direction_b",0,"dungeon_door_direction_b","bo_dungeon_door_direction_a", []),
("dungeon_door_stairs_a",0,"dungeon_door_stairs_a","bo_dungeon_door_stairs_a", []),
("dungeon_door_stairs_b",0,"dungeon_door_stairs_b","bo_dungeon_door_stairs_a", []),
("dungeon_bed_a",0,"dungeon_bed_a","0", []),
("dungeon_bed_b",0,"dungeon_bed_b","bo_dungeon_bed_b", []),
("torture_tool_a",0,"torture_tool_a","bo_torture_tool_a", []),
("torture_tool_b",0,"torture_tool_b","0", []),
("torture_tool_c",0,"torture_tool_c","bo_torture_tool_c", []),
("skeleton_head",0,"skeleton_head","0", []),
("skeleton_bone",0,"skeleton_bone","0", []),
("skeleton_a",0,"skeleton_a","bo_skeleton_a", []),
("dungeon_stairs_a",0,"dungeon_stairs_a","bo_dungeon_stairs_a", []),
("dungeon_stairs_b",0,"dungeon_stairs_b","bo_dungeon_stairs_a", []),
("dungeon_torture_room_a",0,"dungeon_torture_room_a","bo_dungeon_torture_room_a", []),
("dungeon_entry_a",0,"dungeon_entry_a","bo_dungeon_entry_a", []),
("dungeon_entry_b",0,"dungeon_entry_b","bo_dungeon_entry_b", []),
("dungeon_entry_c",0,"dungeon_entry_c","bo_dungeon_entry_c", []),
("dungeon_cell_a",0,"dungeon_cell_a","bo_dungeon_cell_a", []),
("dungeon_cell_b",0,"dungeon_cell_b","bo_dungeon_cell_b", []),
("dungeon_cell_c",0,"dungeon_cell_c","bo_dungeon_cell_c", []),
("dungeon_corridor_a",0,"dungeon_corridor_a","bo_dungeon_corridor_a", []),
("dungeon_corridor_b",0,"dungeon_corridor_b","bo_dungeon_corridor_b", []),
("dungeon_corridor_c",0,"dungeon_corridor_c","bo_dungeon_corridor_b", []),
("dungeon_corridor_d",0,"dungeon_corridor_d","bo_dungeon_corridor_b", []),
("dungeon_direction_a",0,"dungeon_direction_a","bo_dungeon_direction_a", []),
("dungeon_direction_b",0,"dungeon_direction_b","bo_dungeon_direction_a", []),
("dungeon_room_a",0,"dungeon_room_a","bo_dungeon_room_a", []),
("dungeon_tower_stairs_a",0,"dungeon_tower_stairs_a","bo_dungeon_tower_stairs_a", []),
("dungeon_tower_cell_a",0,"dungeon_tower_cell_a","bo_dungeon_tower_cell_a", []),
("tunnel_a",0,"new_tunnel_a","bo_new_tunnel_a", []),
("tunnel_salt",0,"new_tunnel_salt2","bo_new_tunnel_salt", []),
("salt_a",0,"salt_a","bo_salt_a", []),
("tutorial_door_a",sokf_moveable,"tutorial_door_a","bo_tutorial_door_a", []),
("tutorial_door_b",sokf_moveable,"tutorial_door_b","bo_tutorial_door_b", []),
("tutorial_flag_yellow",sokf_moveable,"tutorial_flag_yellow","0", []),
("tutorial_flag_red",sokf_moveable,"tutorial_flag_red","0", []),
("tutorial_flag_blue",sokf_moveable,"tutorial_flag_blue","0", []),
("interior_prison_a",0,"interior_prison_a","bo_interior_prison_a", []),
("interior_prison_b",0,"0","0", []),
("interior_prison_cell_a",0,"0","0", []),
#("interior_prison_c",0,"interior_prison_c","bo_interior_prison_c", []),
("interior_prison_d",0,"0","0", []),
("arena_archery_target_a",0,"arena_archery_target_a","bo_arena_archery_target_a", []),
("archery_butt_a",0,"archery_butt","bo_archery_butt", [
(ti_on_scene_prop_hit,
[ (store_trigger_param_1, ":instance_no"),
(ge, "$tutorial_1_state", 1), #only in tutorial mission
(prop_instance_get_position, pos2, ":instance_no"),
(get_player_agent_no, ":player_agent"),
(agent_get_position, pos3, ":player_agent"),
(get_distance_between_positions, ":player_distance", pos3, pos2),
(position_transform_position_to_local, pos4, pos2, pos1),
(position_set_y, pos4, 0),
(position_set_x, pos2, 0),
(position_set_y, pos2, 0),
(position_set_z, pos2, 0),
(get_distance_between_positions, ":target_distance", pos4, pos2),
(assign, ":point_earned", 43), #Calculating a point between 0-12
(val_sub, ":point_earned", ":target_distance"),
(val_mul, ":point_earned", 1299),
(val_div, ":point_earned", 4300),
(try_begin),
(lt, ":point_earned", 0),
(assign, ":point_earned", 0),
(try_end),
(val_div, ":player_distance", 91), #Converting to yards
(assign, reg60, ":point_earned"),
(assign, reg61, ":player_distance"),
(display_message, "str_archery_target_hit"),
])]),
("archery_target_with_hit_a",0,"arena_archery_target_a","bo_arena_archery_target_a", [
(ti_on_scene_prop_hit,
[ (store_trigger_param_1, ":instance_no"),
(ge, "$tutorial_1_state", 1), #only in tutorial mission
(prop_instance_get_position, pos2, ":instance_no"),
(get_player_agent_no, ":player_agent"),
(agent_get_position, pos3, ":player_agent"),
(get_distance_between_positions, ":player_distance", pos3, pos2),
(position_transform_position_to_local, pos4, pos2, pos1),
(position_set_y, pos4, 0),
(position_set_x, pos2, 0),
(position_set_y, pos2, 0),
(position_set_z, pos2, 0),
(get_distance_between_positions, ":target_distance", pos4, pos2),
(assign, ":point_earned", 43), #Calculating a point between 0-12
(val_sub, ":point_earned", ":target_distance"),
(val_mul, ":point_earned", 1299),
(val_div, ":point_earned", 4300),
(try_begin),
(lt, ":point_earned", 0),
(assign, ":point_earned", 0),
(try_end),
(val_div, ":player_distance", 91), #Converting to yards
(assign, "$g_last_archery_point_earned", ":point_earned"),
(assign, reg60, ":point_earned"),
(assign, reg61, ":player_distance"),
(display_message, "str_archery_target_hit"),
])]),
("dummy_a",sokf_destructible|sokf_moveable,"arena_archery_target_b","bo_arena_archery_target_b", [
(ti_on_scene_prop_destroy,
[ (store_trigger_param_1, ":instance_no"),
(ge, "$tutorial_1_state", 1), #only in tutorial mission
(prop_instance_get_starting_position, pos1, ":instance_no"),
(get_player_agent_no, ":player_agent"),
(agent_get_position, 2, ":player_agent"),
(assign, ":rotate_side", 80),
(try_begin),
(position_is_behind_position, 2, 1),
(val_mul, ":rotate_side", -1),
(try_end),
(position_rotate_x, 1, ":rotate_side"),
(prop_instance_animate_to_position, ":instance_no", 1, 70), #animate to position 1 in 0.7 second
(val_add, "$tutorial_num_total_dummies_destroyed", 1),
(play_sound, "snd_dummy_destroyed"),
]),
(ti_on_scene_prop_hit,
[ (store_trigger_param_1, ":instance_no"),
(store_trigger_param_2, ":damage"),
(get_player_agent_no, ":player_agent"),
] + (is_a_wb_sceneprop==1 and [
(store_trigger_param, ":agent", 3),
(eq, ":agent", ":player_agent"),
] or []) + [
(assign, reg60, ":damage"),
(val_div, ":damage", 8),
(prop_instance_get_position, pos2, ":instance_no"),
(agent_get_position, pos3, ":player_agent"),
(try_begin),
(position_is_behind_position, pos3, pos2),
(val_mul, ":damage", -1),
(try_end),
(position_rotate_x, 2, ":damage"),
(display_message, "str_delivered_damage"),
(prop_instance_animate_to_position, ":instance_no", 2, 30), #animate to position 1 in 0.3 second
(play_sound, "snd_dummy_hit"),
#(particle_system_burst, "psys_blood_hit_1", pos1, 100), #littles
#(particle_system_burst, "psys_blood_hit_2", pos1, 1), #Massive blood part
#(particle_system_burst, "psys_blood_hit_3", pos1, 10), #3-4 part of blood
#(set_position_delta,0,0,50),
#(prop_instance_get_position, pos2, ":instance_no"),
(particle_system_burst, "psys_dummy_smoke", pos1, 3),
(particle_system_burst, "psys_dummy_straw", pos1, 10),
])]),
("band_a",0,"band_a","0", []),
("arena_sign",0,"arena_arms","0", []),
("castle_h_battlement_a",0,"castle_h_battlement_a","bo_castle_h_battlement_a", []),
("castle_h_battlement_c",0,"castle_h_battlement_c","bo_castle_h_battlement_c", []),
("castle_h_battlement_b",0,"castle_h_battlement_b","bo_castle_h_battlement_b", []),
("castle_h_corner_c",0,"castle_h_corner_c","bo_castle_h_corner_c", []),
("castle_h_battlement_a2",0,"castle_h_battlement_a2","bo_castle_h_battlement_a2", []),
("snowy_castle_battlement_b",0,"snowy_castle_battlement_b","bo_snowy_castle_battlement_b", []),
("castle_h_battlement_b2",0,"castle_h_battlement_b2","bo_castle_h_battlement_b2", []),
("snowy_castle_battlement_corner_a",0,"snowy_castle_battlement_corner_a","bo_snowy_castle_battlement_corner_a", []),
("castle_h_corner_a",0,"castle_h_corner_a","bo_castle_h_corner_a", []),
("snowy_castle_battlement_corner_b",0,"snowy_castle_battlement_corner_b","bo_snowy_castle_battlement_corner_b", []),
("castle_h_stairs_a",0,"castle_h_stairs_a","bo_castle_h_stairs_a", []),
("snowy_castle_battlement_corner_c",0,"snowy_castle_battlement_corner_c","bo_snowy_castle_battlement_corner_c", []),
("castle_h_stairs_b",0,"castle_h_stairs_b","bo_castle_h_stairs_b", []),
("snowy_castle_battlement_stairs_a",0,"snowy_castle_battlement_stairs_a","bo_snowy_castle_battlement_stairs_a", []),
("castle_h_gatehouse_a",0,"castle_h_gatehouse_a","bo_castle_h_gatehouse_a", []),
("snowy_castle_battlement_stairs_b",0,"snowy_castle_battlement_stairs_b","bo_snowy_castle_battlement_stairs_b", []),
("castle_h_keep_a",0,"castle_h_keep_a","bo_castle_h_keep_a", []),
("snowy_castle_gate_house_a",0,"snowy_castle_gate_house_a","bo_snowy_castle_gate_house_a", []),
("castle_h_keep_b",0,"castle_h_keep_b","bo_castle_h_keep_b", []),
("snowy_castle_round_tower_a",0,"snowy_castle_round_tower_a","bo_snowy_castle_round_tower_a", []),
("castle_h_house_a",0,"castle_h_house_a","bo_castle_h_house_a", []),
("snowy_castle_square_keep_a",0,"snowy_castle_square_keep_a","bo_snowy_castle_square_keep_a", []),
("castle_h_house_b",0,"castle_h_house_b","bo_castle_h_house_b", []),
("snowy_castle_stairs_a",sokf_type_ladder,"snowy_castle_stairs_a","bo_snowy_castle_stairs_a", []),
("castle_h_house_c",0,"castle_h_house_c","bo_castle_h_house_b", []),
("church_a",0,"church_a","bo_church_a", []),
("castle_h_battlement_barrier",0,"castle_h_battlement_barrier","bo_castle_h_battlement_barrier", []),
("church_tower_a",0,"church_tower_a","bo_church_tower_a", []),
("castle_f_keep_a",0,"castle_f_keep_a","bo_castle_f_keep_a", []),
] + (is_a_wb_sceneprop==1 and [
("full_keep_b",0,"full_keep_b","bo_full_keep_b", []),
] or [
("full_keep_b",0,"castle_f_keep_a","0", []),
]) + [
("castle_f_battlement_a",0,"castle_f_battlement_a","bo_castle_f_battlement_a", []),
("castle_f_battlement_c",0,"castle_f_battlement_c","bo_castle_f_battlement_c", []),
("castle_f_battlement_a_destroyed",0,"castle_f_battlement_a_destroyed","bo_castle_f_battlement_a_destroyed", []),
("castle_f_battlement_d",0,"castle_f_battlement_d","bo_castle_f_battlement_d", []),
("castle_f_battlement_b",0,"castle_f_battlement_b","bo_castle_f_battlement_b", []),
("castle_f_battlement_e",0,"castle_f_battlement_e","bo_castle_f_battlement_e", []),
("castle_f_battlement_corner_a",0,"castle_f_battlement_corner_a","bo_castle_f_battlement_corner_a", []),
("castle_f_battlement_corner_c",0,"castle_f_battlement_corner_c","bo_castle_f_battlement_corner_c", []),
("castle_f_battlement_corner_b",0,"castle_f_battlement_corner_b","bo_castle_f_battlement_corner_b", []),
("castle_f_battlement_d",0,"castle_f_battlement_d","bo_castle_f_battlement_d", []),
("castle_f_stairs_a",0,"castle_f_stairs_a","bo_castle_f_stairs_a", []),
("castle_f_sally_port_elevation",0,"castle_f_sally_port_elevation","bo_castle_f_sally_port_elevation", []),
("castle_f_tower_a",0,"castle_f_tower_a","bo_castle_f_tower_a", []),
("castle_f_door_a",0,"castle_f_tower_a","bo_castle_f_door_a", []),
("castle_f_wall_stairs_a",0,"castle_f_wall_stairs_a","bo_castle_f_wall_stairs_a", []),
("castle_f_sally_door_a",0,"castle_f_sally_door_a","bo_castle_f_sally_door_a", []),
("castle_f_wall_stairs_b",0,"castle_f_wall_stairs_b","bo_castle_f_wall_stairs_b", []),
("castle_f_doors_top_a",0,"castle_f_doors_top_a","bo_castle_f_doors_top_a", []),
("castle_f_wall_way_a",0,"castle_f_wall_way_a","bo_castle_f_wall_way_a", []),
("mosque_a",0,"mosque_a","bo_mosque_a", []),
("castle_f_wall_way_b",0,"castle_f_wall_way_b","bo_castle_f_wall_way_b", []),
("square_keep_b",0,"square_keep_b","bo_square_keep_b", []),
("castle_f_gatehouse_a",0,"castle_f_gatehouse_a","bo_castle_f_gatehouse_a", []),
("square_keep_c",0,"square_keep_c","bo_square_keep_c", []),
#("castle_g_battlement_a",0,"castle_g_battlement_a","bo_castle_g_battlement_a", []),
#("castle_g_corner_a",0,"castle_g_corner_a","bo_castle_g_corner_a", []),
#("castle_g_tower_a",0,"castle_g_tower_a","bo_castle_g_tower_a", []),
#("castle_g_gate_house",0,"castle_g_gate_house","bo_castle_g_gate_house", []),
#("castle_g_gate_house_door_a",0,"castle_g_gate_house_door_a","bo_castle_g_gate_house_door_a", []),
#("castle_g_gate_house_door_b",0,"castle_g_gate_house_door_b","bo_castle_g_gate_house_door_b", []),
#("castle_g_square_keep_a",0,"castle_g_square_keep_a","bo_castle_g_square_keep_a", []),
#("mosque_a",0,"mosque_a","bo_mosque_a", []),
("stone_minaret_a",0,"stone_minaret_a","bo_stone_minaret_a", []),
("square_keep_d",0,"square_keep_d","bo_square_keep_d", []),
#("stone_house_a",0,"stone_house_a","bo_stone_house_a", []),
#("stone_house_b",0,"stone_house_b","bo_stone_house_b", []),
#("stone_house_c",0,"stone_house_c","bo_stone_house_c", []),
#("stone_house_d",0,"stone_house_d","bo_stone_house_d", []),
#("stone_house_e",0,"stone_house_e","bo_stone_house_e", []),
#("stone_house_f",0,"stone_house_f","bo_stone_house_f", []),
("banner_pole", 0, "banner_pole", "bo_banner_pole", []),
("square_keep_e",0,"square_keep_e","bo_square_keep_e", []),
("square_keep_f",0,"square_keep_f","bo_square_keep_f", []),
("banner_a",0,"b_arms_gondor","0", []), #gondor
("banner_b",0,"b_arms_rohan","0", []), #rohan
("banner_c",0,"b_mordor","0", []), #mordor
("banner_d",0,"b_harad","0", []), #harad
("banner_e",0,"b_arms_khand","0", []), #khand
("banner_f",0,"b_rhun","0", []), #rhun
("banner_g",0,"b_arms_umbar","0", []), #umbar
("banner_h",0,"b_arms_lorien","0", []), #lorien
("banner_i",0,"b_arms_imladris","0", []), #imladris
("banner_j",0,"b_arms_woodelf","0", []), #woodelf
("banner_k",0,"b_moria","0", []), #moria
("banner_l",0,"b_guldur","0", []), #guldur
("banner_m",0,"b_beorn","0", []), #beorn
("banner_n",0,"b_gundabad","0", []), #gunda
("banner_o",0,"b_arms_dale","0", []), #dale
("banner_p",0,"b_arms_erebor","0", []), #erebor
("banner_r",0,"b_dunland","0", []), #dunland
("banner_s",0,"b_isengard","0", []), #isengard
# banners B C D not used
("banner_ea",0,"banner_e01","0", []),
("banner_eb",0,"banner_e02","0", []),
("banner_ec",0,"banner_e03","0", []),
("banner_ed",0,"banner_e04","0", []),
("banner_ee",0,"banner_e05","0", []),
("banner_ef",0,"banner_e06","0", []),
("banner_eg",0,"banner_e07","0", []),
("banner_eh",0,"banner_e08","0", []),
("banner_ei",0,"banner_e09","0", []),
("banner_ej",0,"banner_e10","0", []),
("banner_ek",0,"banner_e11","0", []),
("banner_el",0,"banner_e12","0", []),
("banner_em",0,"banner_e13","0", []),
("banner_en",0,"banner_e14","0", []),
("banner_eo",0,"banner_e15","0", []),
("banner_ep",0,"banner_e16","0", []),
("banner_eq",0,"banner_e17","0", []),
("banner_er",0,"banner_e18","0", []),
("banner_es",0,"banner_e19","0", []),
("banner_et",0,"banner_e20","0", []),
("banner_eu",0,"banner_e21","0", []),
("banner_f01", 0, "banner_f01", "0", []),
("banner_f02", 0, "banner_f02", "0", []),
#("banner_f03", 0, "banner_f03", "0", []), #bad banner. others are better and enough for Rohan lords
("banner_f04", 0, "banner_f04", "0", []),
("banner_f05", 0, "banner_f05", "0", []),
("banner_f06", 0, "banner_f06", "0", []),
("banner_f07", 0, "banner_f07", "0", []),
("banner_f08", 0, "banner_f08", "0", []),
("banner_f09", 0, "banner_f09", "0", []),
("banner_f10", 0, "banner_f10", "0", []),
("banner_f11", 0, "banner_f11", "0", []),
("banner_f12", 0, "banner_f12", "0", []),
("banner_f13", 0, "banner_f13", "0", []),
("banner_f14", 0, "banner_f14", "0", []),
("banner_f15", 0, "banner_f15", "0", []),
("banner_f16", 0, "banner_f16", "0", []),
("banner_f17", 0, "banner_f17", "0", []),
("banner_f18", 0, "banner_f18", "0", []),
("banner_f19", 0, "banner_f19", "0", []),
("banner_f21", 0, "b_arms_los", "0", []), #lossarnach
("banner_f20", 0, "banner_f20", "0", []),
("tavern_chair_a",0,"tavern_chair_a","0", []),
("tavern_chair_b",0,"tavern_chair_b","0", []),
("tavern_table_a",0,"tavern_table_a","bo_tavern_table_a", []),
("tavern_table_b",0,"tavern_table_b","bo_tavern_table_b", []),
("fireplace_a",0,"fireplace_a","bo_fireplace_a", []),
("barrel",0,"barrel","bobarrel", []),
("bench_tavern",0,"bench_tavern","0", []),
("bench_tavern_b",0,"bench_tavern_b","0", []),
("bowl_wood",0,"bowl_wood","0", []),
("chandelier_table",0,"chandelier_table","0", []),
# ("chandelier_tavern",0,"chandelier_tavern","0", []),
("chest_gothic",0,"chest_gothic","bochest_gothic", []),
("chest_b",0,"chest_b","bo_chest_b", []),
("chest_c",0,"chest_c","bo_chest_c", []),
("counter_tavern",0,"counter_tavern","bocounter_tavern", []),
("cup",0,"cup_new","0", []),
("dish_metal",0,"dish_metal_new","0", []),
("gothic_chair",0,"gothic_chair","0", []),
("gothic_stool",0,"gothic_stool","0", []),
("grate",0,"grate_new","bograte", []),
("jug",0,"jug_new","0", []),
("potlamp",0,"potlamp_new","0", []),
("weapon_rack",0,"weapon_rack","boweapon_rack", []),
("weapon_rack_big",0,"weapon_rack_big","boweapon_rack_big", []),
("tavern_barrel",0,"barrel_new","bobarrel", []),
("tavern_barrel_b",0,"tavern_barrel_b","bo_tavern_barrel_b", []),
("merchant_sign",0,"merchant_sign","bo_tavern_sign", []),
("tavern_sign",0,"tavern_sign","bo_tavern_sign", []),
("sack",0,"sack_new","0", []),
("skull_a",0,"skull_a","0", []),
("skull_b",0,"skull_b","0", []),
("skull_c",0,"skull_c","0", []),
("skull_d",0,"skull_d","0", []),
("skeleton_cow",0,"skeleton_cow","0", []),
("cupboard_a",0,"cupboard_a","bo_cupboard_a", []),
("box_a",0,"box_new","bo_box_a", []),
("bucket_a",0,"bucket_a","bo_bucket_a", []),
("straw_a",0,"straw_a","0", []),
("straw_b",0,"straw_b","0", []),
("straw_c",0,"straw_c","0", []),
("cloth_a",0,"cloth_a_new_animated","0", [
] + (is_a_wb_sceneprop==1 and [
(ti_on_scene_prop_init,[
(store_trigger_param_1, ":instance_no"),
(store_random_in_range,":r",0,100), # Random animations time
(try_begin),
(ge, ":r", 50),
(try_begin),
(ge, ":r", 75),
(prop_instance_deform_in_cycle_loop, ":instance_no", 1,25, 2000),
#(display_message, "@cloth_a ANIM + Fast"),
(else_try),
(prop_instance_deform_in_cycle_loop, ":instance_no", 1,25, 2500),
#(display_message, "@cloth_a ANIM + Slow"),
(try_end),
(else_try),
(try_begin),
(ge, ":r", 25),
(prop_instance_deform_in_cycle_loop, ":instance_no", 25,1, 2000),
#(display_message, "@cloth_a ANIM - Fast"),
(else_try),
(prop_instance_deform_in_cycle_loop, ":instance_no", 25,1, 2500),
#(display_message, "@cloth_a ANIM - Slow"),
(try_end),
(try_end),
]),
] or []) + [
]),
("cloth_b",0,"cloth_b_new_animated","0", [
] + (is_a_wb_sceneprop==1 and [
(ti_on_scene_prop_init,[
(store_trigger_param_1, ":instance_no"),
(store_random_in_range,":r",0,100), # Random animations time
(try_begin),
(ge, ":r", 50),
(try_begin),
(ge, ":r", 75),
(prop_instance_deform_in_cycle_loop, ":instance_no", 1,25, 2000),
#(display_message, "@cloth_b ANIM + Fast"),
(else_try),
(prop_instance_deform_in_cycle_loop, ":instance_no", 1,25, 3500),
#(display_message, "@cloth_b ANIM + Slow"),
(try_end),
(else_try),
(try_begin),
(ge, ":r", 25),
(prop_instance_deform_in_cycle_loop, ":instance_no", 25,1, 2000),
#(display_message, "@cloth_b ANIM - Fast"),
(else_try),
(prop_instance_deform_in_cycle_loop, ":instance_no", 25,1, 3500),
#(display_message, "@cloth_b ANIM - Slow"),
(try_end),
(try_end),
]),
] or []) + [
]),
("mat_a",0,"mat_a","0", []),
("mat_b",0,"mat_b","0", []),
("mat_c",0,"Gutek_mat_c","0", []),
("mat_d",0,"Gutek_mat_d","0", []),
("wood_a",0,"wood_a","bo_wood_a", []),
("wood_a_E",0,"wood_a","0", []),
("wood_b",0,"wood_b","bo_wood_b", []),
("wood_b_E",0,"wood_b","0", []),
("wood_heap",0,"Gutek_wood_heap_a","bo_wood_heap_a", []),
("wood_heap_E",0,"wood_heap_a","0", []),
("wood_heap_b",0,"wood_heap_b","bo_wood_heap_b", []),
("wood_heap_b_E",0,"wood_heap_b","0", []),
("water_well_a",0,"water_well_a","bo_water_well_a", []),
("net_a",0,"net_a","bo_net_a", []),
("net_b",0,"net_b","0", []),
("meat_hook",0,"meat_hook","0", []),
("cooking_pole",0,"cooking_pole","0", []),
("bowl_a",0,"bowl_a","0", []),
("bucket_b",0,"bucket_b","0", []),
("washtub_a",0,"washtub_a_new","bo_washtub_a", []),
("washtub_b",0,"washtub_b_new","bo_washtub_b", []),
("table_trunk_a",0,"table_trunk_a","bo_table_trunk_a", []),
("chair_trunk_a",0,"chair_trunk_a","0", []),
("chair_trunk_b",0,"chair_trunk_b","0", []),
("chair_trunk_c",0,"chair_trunk_c","0", []),
("table_trestle_long",0,"table_trestle_long","bo_table_trestle_long", []),
("table_trestle_small",0,"table_trestle_small","bo_table_trestle_small", []),
("chair_trestle",0,"chair_trestle","0", []),
("wheel",0,"wheel","bowheel", []),
("ladder",0,"ladder","boladder_new", []),
("cart",0,"cart","bo_cart_new", []),
("village_stand",0,"village_stand","bovillage_stand", []),
("wooden_stand",0,"wooden_stand","bowooden_stand", []),
("table_small",0,"table_small","botable_small", []),
("table_small_b",0,"table_small_b","bo_table_small_b", []),
#("small_timber_frame_house_a",0,"small_timber_frame_house_a","bo_small_timber_frame_house_a", []),
#("timber_frame_house_b",0,"tf_house_b","bo_tf_house_b", []),
#("timber_frame_house_c",0,"tf_house_c","bo_tf_house_c", []),
#("timber_frame_extension_a",0,"timber_frame_extension_a","bo_timber_frame_extension_a", []),
#("timber_frame_extension_b",0,"timber_frame_extension_b","bo_timber_frame_extension_b", []),
#("stone_stairs_a",0,"stone_stairs_a","bo_stone_stairs_a", []),
("stone_stairs_b",0,"stone_stairs_b","bo_stone_stairs_b", []),
("railing_a",0,"railing_a","bo_railing_a", []),
#("side_building_a",0,"side_building_a","bo_side_building_a_tld", []),
("battlement_a",0,"battlement_a","bo_battlement_a", []),
("castle_battlement_c",0,"castle_battlement_c","bo_castle_battlement_c", []),
("battlement_a_destroyed",0,"battlement_a_destroyed","bo_battlement_a_destroyed", []),
("castle_battlement_corner_c",0,"castle_battlement_corner_c","bo_castle_battlement_corner_c", []),
("round_tower_a",0,"round_tower_a","bo_round_tower_a", []),
("castle_battlement_c",0,"castle_battlement_c","bo_castle_battlement_c", []),
("small_round_tower_a",0,"small_round_tower_a","bo_small_round_tower_a", []),
("small_round_tower_roof_a",0,"small_round_tower_roof_a","bo_small_round_tower_roof_a", []),
("square_keep_a",0,"square_keep_a","bo_square_keep_a", []),
("square_tower_roof_a",0,"square_tower_roof_a","0", []),
("gate_house_a",0,"gate_house_a","bo_gate_house_a", []),
("castle_battlement_corner_c",0,"castle_battlement_corner_c","bo_castle_battlement_corner_c", []),
("gate_house_b",0,"gate_house_b","bo_gate_house_b", []),
("arena_wall_a",0,"arena_wall_a","bo_arena_wall_ab", []),
("small_wall_a",0,"small_wall_a","bo_small_wall_a", []),
("small_wall_b",0,"small_wall_b","bo_small_wall_b", []),
("small_wall_c",0,"small_wall_c","bo_small_wall_c", []),
("small_wall_c_E",0,"small_wall_c","0", []),
("small_wall_c_destroy",0,"small_wall_c_destroy","bo_small_wall_c_destroy", []),
("small_wall_c_destroy_E",0,"small_wall_c_destroy","0", []),
("small_wall_d",0,"small_wall_d","bo_small_wall_d", []),
("small_wall_connect_a",0,"small_wall_connect_a","bo_small_wall_connect_a", []),
("small_wall_e",0,"small_wall_e","bo_small_wall_d", []),
("castle_courtyard_house_extension_a",0,"castle_courtyard_house_extension_a","bo_castle_courtyard_house_extension_a", []),
("town_house_a",0,"town_house_a","bo_town_house_a", []),
("castle_courtyard_house_extension_b",0,"castle_courtyard_house_extension_b","bo_castle_courtyard_house_extension_b", []),
("town_house_b",0,"town_house_b","bo_town_house_b", []),
("castle_f_door_a",sokf_moveable|sokf_show_hit_point_bar|sokf_destructible|spr_use_time(0),"castle_f_door_a","bo_castle_f_door_a", []),
("town_house_c",0,"town_house_c","bo_town_house_c", []),
("castle_e_sally_door_a",sokf_moveable|sokf_show_hit_point_bar|sokf_destructible|spr_use_time(0),"castle_e_sally_door_a","bo_castle_e_sally_door_a", []),
("town_house_d",0,"town_house_d","bo_town_house_d", []),
("arabian_house_a",0,"arabian_house_a","bo_arabian_house_a", []),
("town_house_e",0,"town_house_e","bo_town_house_e", []),
("arabian_house_b",0,"arabian_house_b","bo_arabian_house_b", []),
("town_house_f",0,"town_house_f","bo_town_house_f", []),
("arabian_house_c",0,"arabian_house_c","bo_arabian_house_c", []),
("town_house_g",0,"town_house_g","bo_town_house_g", []),
("arabian_house_d",0,"arabian_house_d","bo_arabian_house_d", []),
("town_house_h",0,"town_house_h","bo_town_house_h", []),
("arabian_house_e",0,"arabian_house_e","bo_arabian_house_e", []),
("town_house_i",0,"town_house_i","bo_town_house_i", []),
("arabian_house_f",0,"arabian_house_f","bo_arabian_house_f", []),
("town_house_j",0,"town_house_j","bo_town_house_j", []),
("arabian_house_g",0,"arabian_house_g","bo_arabian_house_g", []),
("town_house_l",0,"town_house_l","bo_town_house_l", []),
("arabian_house_h",0,"arabian_house_h","bo_arabian_house_h", []),
("town_house_m",0,"town_house_m","bo_town_house_m", []),
("arabian_house_i",0,"arabian_house_i","bo_arabian_house_i", []),
("town_house_n",0,"town_house_n","bo_town_house_n", []),
("instrument_lyre",0,"lyre","0", []),
("town_house_o",0,"town_house_o","bo_town_house_o", []),
("instrument_lute",0,"lute","0", []),
("town_house_p",0,"town_house_p","bo_town_house_p", []),
("stone_house_a",0,"stone_house_a","bo_stone_house_a", []),
("town_house_q",0,"town_house_q","bo_town_house_q", []),
("stone_house_b",0,"stone_house_b","bo_stone_house_b", []),
#("passage_house_a",0,"passage_house_a","bo_passage_house_a_tld", []),
("passage_house_b",0,"passage_house_b","bo_passage_house_b", []),
("stone_house_c",0,"stone_house_c","bo_stone_house_c", []),
("passage_house_c",0,"passage_house_c","bo_passage_house_c", []),
("stone_house_d",0,"stone_house_d","bo_stone_house_d", []),
#("passage_house_d",0,"passage_house_d","bo_passage_house_d", []),
("passage_house_c_door",0,"passage_house_c_door","bo_passage_house_c_door", []),
("stone_house_e",0,"stone_house_e","bo_stone_house_e", []),
#("house_extension_a",0,"house_extension_a","bo_house_extension_a", []),
#("house_extension_b",0,"house_extension_b","bo_house_extension_b", []),
("house_extension_c",0,"house_extension_c","bo_house_extension_a", []),
("stone_house_f",0,"stone_house_f","bo_stone_house_f", []),
#("house_extension_d",0,"house_extension_d","bo_house_extension_d", []),
#("house_extension_e",0,"house_extension_e","bo_house_extension_e", []),
#("house_extension_f",0,"house_extension_f","bo_house_extension_f", []),
#("house_extension_f2",0,"house_extension_f2","bo_house_extension_f", []),
#("house_extension_g",0,"house_extension_g","bo_house_extension_g", []),
#("house_extension_g2",0,"house_extension_g2","bo_house_extension_g", []),
#("house_extension_h",0,"house_extension_h","bo_house_extension_h", []),
("house_roof_door",0,"house_roof_door","bo_house_roof_door", []),
("door_extension_a",0,"door_extension_a","bo_door_extension_a", []),
("stairs_arch_a",0,"stairs_arch_a","bo_stairs_arch_a", []),
("arena_circle_a",0,"arena_circle_a","bo_arena_circle_a", []),
("town_house_r",0,"town_house_r","bo_town_house_r", []),
("house_extension_e",0,"house_extension_e","bo_house_extension_e", []),
("town_house_s",0,"town_house_s","bo_town_house_s", []),
("house_extension_f",0,"house_extension_f","bo_house_extension_f", []),
("town_house_t",0,"town_house_t","bo_town_house_t", []),
("house_extension_g",0,"house_extension_g","bo_house_extension_g", []),
("town_house_u",0,"town_house_u","bo_town_house_u", []),
("house_extension_h",0,"house_extension_h","bo_house_extension_h", []),
("town_house_v",0,"town_house_v","bo_town_house_v", []),
("house_extension_i",0,"house_extension_i","bo_house_extension_i", []),
("town_house_w",0,"town_house_w","bo_town_house_w", []),
("passage_house_d",0,"passage_house_d","bo_passage_house_d", []),
("town_house_y",0,"town_house_y","bo_town_house_y", []),
("brewery_pool", 0,"brewery_pool","bo_brewery_pool", []), #wb
("town_house_z",0,"town_house_z","bo_town_house_z", []),
("weavery_loom_a",0,"weavery_loom_a","bo_weavery_loom_a", []), #wb
#("town_house_za",0,"town_house_za","bo_town_house_za", []),
("windmill",0,"windmill","bo_windmill", []),
("weavery_spinning_wheel",0,"weavery_spinning_wheel","bo_weavery_spinning_wheel", []), #wb
("windmill_fan_turning",sokf_moveable,"windmill_fan_turning","bo_windmill_fan_turning", []),
("windmill_fan",0,"windmill_fan","bo_windmill_fan", []),
("winery_barrel_shelf_unused",0,"winery_barrel_shelf","bo_winery_barrel_shelf", []), #wb
#("fake_house_a",0,"fake_house_a","bo_fake_house_a", []),
#("fake_house_b",0,"fake_house_b","bo_fake_house_b", []),
#("fake_house_c",0,"fake_house_c","bo_fake_house_c", []),
#("fake_house_d",0,"fake_house_d","bo_fake_house_d", []),
#("fake_house_e",0,"fake_house_e","bo_fake_house_e", []),
#("fake_house_f",0,"fake_house_f","bo_fake_house_f", []),
#("fake_house_snowy_a",0,"fake_house_snowy_a","bo_fake_house_a", []),
#("fake_house_snowy_b",0,"fake_house_snowy_b","bo_fake_house_b", []),
#("fake_house_snowy_c",0,"fake_house_snowy_c","bo_fake_house_c", []),
#("fake_house_snowy_d",0,"fake_house_snowy_d","bo_fake_house_d", []),
#("fake_house_far_a",0,"fake_house_far_a","0", []),
#("fake_house_far_b",0,"fake_house_far_b","0", []),
#("fake_house_far_c",0,"fake_house_far_c","0", []),
#("fake_house_far_d",0,"fake_house_far_d","0", []),
#("fake_house_far_e",0,"fake_house_far_e","0", []),
#("fake_house_far_f",0,"fake_house_far_f","0", []),
#("fake_house_far_snowycrude_a",0,"fake_house_far_snowy_a","0", []),
#("fake_house_far_snowy_b",0,"fake_house_far_snowy_b","0", []),
#("fake_house_far_snowy_c",0,"fake_house_far_snowy_c","0", []),
#("fake_house_far_snowy_d",0,"fake_house_far_snowy_d","0", []),
("earth_wall_a",0,"earth_wall_a","bo_earth_wall_a", []),
("earth_wall_b",0,"earth_wall_b","bo_earth_wall_b", []),
("earth_stairs_b",0,"earth_stairs_b","bo_earth_stairs_b", []),
("earth_stairs_a",0,"earth_stairs_a","bo_earth_stairs_a", []),
("earth_tower_small_b",0,"earth_tower_small_b","bo_earth_tower_small_b", []),
("earth_tower_small_a",0,"earth_tower_small_a","bo_earth_tower_small_a", []),
("earth_gate_house_a",0,"earth_gate_house_a","bo_earth_gate_house_a", []),
("earth_gate_house_b",0,"earth_gate_house_b","bo_earth_gate_house_b", []),
("earth_gate_a",0,"earth_gate_a","bo_earth_gate_a", []),
("earth_tower_a",0,"earth_tower_a","bo_earth_tower_a", []),
("earth_square_keep_a",0,"earth_square_keep_a","bo_earth_square_keep_a", []),
("earth_stairs_c",0,"earth_stairs_c","bo_earth_stairs_c", []),
("earth_house_a",0,"earth_house_a","bo_earth_house_a", []),
("earth_sally_gate_right",0,"earth_sally_gate_right","bo_earth_sally_gate_right", []),
("earth_house_b",0,"earth_house_b","bo_earth_house_b", []),
("siege_wall_a",0,"siege_wall_a","bo_siege_wall_a", []), #WB
("earth_house_c",0,"earth_house_c","bo_earth_house_c", []),
("earth_wall_a2",0,"earth_wall_a2","bo_earth_wall_a2", []),
("earth_house_d",0,"earth_house_d","bo_earth_house_d", []),
("earth_wall_b2",0,"earth_wall_b2","bo_earth_wall_b2", []),
#("village_steppe_a",0,"village_steppe_a","bo_village_steppe_a", []),
#("village_steppe_b",0,"village_steppe_b","bo_village_steppe_b", []),
#("village_steppe_c",0,"village_steppe_c","bo_village_steppe_c", []),
#("village_steppe_d",0,"village_steppe_d","bo_village_steppe_d", []),
#("village_steppe_e",0,"village_steppe_e","bo_village_steppe_e", []),
#("village_steppe_f",0,"village_steppe_f","bo_village_steppe_f", []),
("town_house_aa",0,"town_house_aa","bo_town_house_aa", []), #unused?
("siege_large_shield_a",0,"siege_large_shield_a","bo_siege_large_shield_a", []), #WB
("snowy_house_a",0,"snowy_house_a","bo_snowy_house_a", []),
("snowy_house_b",0,"snowy_house_b","bo_snowy_house_b", []),
("snowy_house_c",0,"snowy_house_c","bo_snowy_house_c", []),
("snowy_house_d",0,"snowy_house_d","bo_snowy_house_d", []),
("snowy_house_e",0,"snowy_house_e","bo_snowy_house_e", []),
("snowy_house_f",0,"snowy_house_f","bo_snowy_house_f", []),
("snowy_house_g",0,"snowy_house_g","bo_snowy_house_g", []),
("snowy_house_h",0,"snowy_house_h","bo_snowy_house_h", []),
("snowy_house_i",0,"snowy_house_i","bo_snowy_house_i", []),
#("snowy_wall_a",0,"snowy_wall_a","bo_snowy_wall_a", []),
("snowy_stand",0,"snowy_stand","bo_snowy_stand", []),
("snowy_heap_a",0,"snowy_heap_a","bo_snowy_heap_a", []),
("snowy_trunks_a",0,"snowy_trunks_a","bo_snowy_trunks_a", []),
#("snowy_castle_tower_a",0,"snowy_castle_tower_a","bo_snowy_castle_tower_a", []),
#("snowy_castle_battlement_a",0,"snowy_castle_battlement_a","bo_snowy_castle_battlement_a", []),
#("snowy_castle_battlement_a_destroyed",0,"snowy_castle_battlement_a_destroyed","bo_snowy_castle_battlement_a_destroyed", []),
#("snowy_castle_battlement_b",0,"snowy_castle_battlement_b","bo_snowy_castle_battlement_b", []),
#("snowy_castle_battlement_corner_a",0,"snowy_castle_battlement_corner_a","bo_snowy_castle_battlement_corner_a", []),
#("snowy_castle_battlement_corner_b",0,"snowy_castle_battlement_corner_b","bo_snowy_castle_battlement_corner_b", []),
#("snowy_castle_battlement_stairs_a",0,"snowy_castle_battlement_stairs_a","bo_snowy_castle_battlement_stairs_a", []),
#("snowy_castle_battlement_stairs_b",0,"snowy_castle_battlement_stairs_b","bo_snowy_castle_battlement_stairs_b", []),
#("snowy_castle_gate_house_a",0,"snowy_castle_gate_house_a","bo_snowy_castle_gate_house_a", []),
#("snowy_castle_round_tower_a",0,"snowy_castle_round_tower_a","bo_snowy_castle_round_tower_a", []),
#("snowy_castle_square_keep_a",0,"snowy_castle_square_keep_a","bo_snowy_castle_square_keep_a", []),
#("snowy_castle_stairs_a",0,"snowy_castle_stairs_a","bo_snowy_castle_stairs_a", []),
#("square_keep_b",0,"square_keep_b","bo_square_keep_b", []),
#("square_keep_c",0,"square_keep_c","bo_square_keep_c", []),
#("square_keep_d",0,"square_keep_d","bo_square_keep_d", []),
#("square_keep_e",0,"square_keep_e","bo_square_keep_e", []),
#("square_keep_f",0,"square_keep_f","bo_square_keep_f", []),
("square_stairs_a",0,"square_stairs_a","bo_square_stairs_a", []),
("square_extension_a",0,"square_extension_a","bo_square_extension_a", []),
("castle_courtyard_house_a",0,"castle_courtyard_house_a","bo_castle_courtyard_house_a", []),
("courtyard_gate_a",0,"courtyard_entry_a","bo_courtyard_entry_a", []),
("castle_courtyard_house_b",0,"castle_courtyard_house_b","bo_castle_courtyard_house_b", []),
("courtyard_gate_b",0,"courtyard_entry_b","bo_courtyard_entry_b", []),
("castle_courtyard_house_c",0,"castle_courtyard_house_c","bo_castle_courtyard_house_c", []),
("courtyard_gate_c",0,"courtyard_entry_c","bo_courtyard_entry_c", []),
("castle_courtyard_a",0,"castle_courtyard_a","bo_castle_courtyard_a", []),
("courtyard_gate_snowy",0,"courtyard_entry_snowy","bo_courtyard_entry_a", []),
("gatehouse_b",0,"gatehouse_b","bo_gatehouse_b", []),
("castle_e_battlement_a",0,"castle_e_battlement_a","bo_castle_e_battlement_a", []),
("castle_gaillard",0,"castle_gaillard","bo_castle_gaillard", []),
("castle_e_battlement_c",0,"castle_e_battlement_c","bo_castle_e_battlement_c", []),
("castle_e_tower",0,"castle_e_tower","bo_castle_e_tower", []),
("castle_e_battlement_a_destroyed",0,"castle_e_battlement_a_destroyed","bo_castle_e_battlement_a_destroyed", []),
("stand_thatched",0,"stand_thatched","bo_stand_thatched", []),
#("stand_cloth",0,"stand_cloth","bo_stand_cloth", []),
("arena_block_c",0,"arena_block_c","bo_arena_block_c", []),
("castle_e_corner",0,"castle_e_corner","bo_castle_e_corner", []),
("arena_block_f",0,"arena_block_f","bo_arena_block_def", []),
("castle_e_corner_b",0,"castle_e_corner_b","bo_castle_e_corner_b", []),
("arena_block_i",0,"arena_block_i","bo_arena_block_ghi", []),