File: 015_basic_object.nml

package info (click to toggle)
nml 0.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,980 kB
  • ctags: 1,752
  • sloc: python: 14,277; sh: 217; makefile: 38
file content (40 lines) | stat: -rw-r--r-- 1,087 bytes parent folder | download | duplicates (7)
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
grf {
    grfid: "NML\15";
    name: string(STR_REGRESSION_NAME);
    desc: string(STR_REGRESSION_DESC);
    version: 0;
    min_compatible_version: 0;
}

spritelayout obj_basic_tile {
    ground {
        sprite : 1420;
    }
    building {
        sprite        : 2632;
        recolour_mode : RECOLOUR_REMAP;
        palette       : 0x307;
        xextent       : 16;
        yextent       : 16;
        zextent       : 30;
    }
}

item (FEAT_OBJECTS, obj_basic) {
    property {
        class                  : "MISC";
        classname              : string(STR_OBJ_MISC_CLASS);
        name                   : string(STR_OBJ_BASIC);
        climates_available     : ALL_CLIMATES & ~bitmask(CLIMATE_TOYLAND);
        size                   : [ 1, 1 ];
        introduction_date      : date(1900, 1, 1);
        end_of_life_date       : date(1930, 1, 1);
        build_cost_multiplier  : 1;
        remove_cost_multiplier : 1;
        object_flags           : bitmask(OBJ_FLAG_ALLOW_BRIDGE);
        height                 : 4;
    }
    graphics {
        obj_basic_tile;
    }
}