Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
Paste #pteuadnce
Show paste
diff -u af_ZA.xml.bup01 af_ZA.xml
--- af_ZA.xml.bup01 2015-05-25 15:21:12.000000000 +0200
+++ af_ZA.xml 2015-05-25 16:07:45.000000000 +0200
@@ -45265,6 +45265,17 @@
</newtext>
Paste #pzjgctega
Show paste
diff -r 6e1676fcaf82 webtranslate/pages/string_edit.py
--- a/webtranslate/pages/string_edit.py Mon May 25 14:44:18 2015 +0200
+++ b/webtranslate/pages/string_edit.py Mon May 25 15:55:40 2015 +0200
@@ -464,6 +464,7 @@
Paste #pcfxdrh8h
Show paste
UnicodeDecodeError('utf-8', b'\xb0!"\xa7$%&/()=?`@QWERTZUIOP\xdc{{}*ASDFGHJKL\xd6\xc4\'>YXCVBNM;:_ .', 0, 1, 'invalid start byte')
Traceback (most recent call last):
File "/home/openttd/eints/webtranslate/bottle.py", line 862, in _handle
return route.call(**args)
Paste #pmc1did1z
Show paste
diff -r 6e1676fcaf82 webtranslate/config.py
--- a/webtranslate/config.py Mon May 25 14:44:18 2015 +0200
+++ b/webtranslate/config.py Mon May 25 15:25:49 2015 +0200
@@ -326,7 +326,6 @@
return "A project file named \"
{
}
\" already exists".format
(
disk_name
)
Paste #pfvd0fovg
Show paste
diff --git a/webtranslate/config.py b/webtranslate/config.py
--- a/webtranslate/config.py
+++ b/webtranslate/config.py
@@ -326,7 +326,6 @@ class ProjectCache:
return "A project file named \"
{
}
\" already exists".format
(
disk_name
)
Paste #p2ai6lxga
Show paste
diff --git a/webtranslate/config.py b/webtranslate/config.py
--- a/webtranslate/config.py
+++ b/webtranslate/config.py
@@ -326,7 +326,6 @@ class ProjectCache:
return "A project file named \"
{
}
\" already exists".format
(
disk_name
)
Paste #pwycnha6p
Show paste
diff -r 6e1676fcaf82 webtranslate/config.py
--- a/webtranslate/config.py Mon May 25 14:44:18 2015 +0200
+++ b/webtranslate/config.py Mon May 25 14:59:34 2015 +0200
@@ -326,7 +326,6 @@
return "A project file named \"
{
}
\" already exists".format
(
disk_name
)
Paste #pcq3cugdb
Show paste
+*project-types*
+ Eints understands three types of projects, ``openttd``, ``game-script``, and
+ ``newgrf``. Each has a different set of known string commands. In this
+ configuration field, you can list the project types that should be allowed
+ (separated by white space).
Paste #pfbsx79gc
Show paste
switch(string_part2a, [STORE_TEMP, string(increasing), textstack3), STORE_TEMP(string(surplus), textstack4)] {
return string(long_version)
}
switch(string_part2a, [STORE_TEMP, string(decreasing), textstack3), STORE_TEMP(string(shortage), textstack4)] {
Paste #pfqjsa9ma
Show paste
Different sprite file for each sprite "seq(1..4, 1)" gets expanded to "1", "2", "3", "4"
(se, sw, nw, ne): spritefiles {
x_base: 0; y_base: 0;
file: "../sprites/objects/1x1/template/64_0000{seq(1..4, 1)}.png";
Paste #poznk0wzw
Show paste
Single sprite
e#: sprite {
x_base: 64; y_base: 0;
file: "../sprites/terrain/groundtiles/cornerhighlight8bpp64_masked.png";
Paste #p930m0ow9
Show paste
diff --git a/nml/expression/functioncall.py b/nml/expression/functioncall.py
--- a/nml/expression/functioncall.py
+++ b/nml/expression/functioncall.py
@@ -259,9 +259,9 @@ def builtin_getbits
(
name, args, pos
)
:
raise generic.ScriptError
(
name + "
(
)
must have exactly three parameters", pos
)
Paste #plp8ivr47
Show paste
switch
(
FEAT_INDUSTRYTILES
,
SELF
,
coal_mine_tile_1_anim_control
,
0
)
{
return
CB_RESULT_START_ANIMATION
;
}
item
(
FEAT_INDUSTRYTILES
,
coal_mine_tile_1
,
)
{
Paste #pk0ub5j5s
Show paste
// buildings
(
snow aware
)
building
{
sprite: machine_shop_spriteset_1_0
(
0
* animation_frame
)
;
recolour_mode: RECOLOUR_REMAP
;
palette: PALETTE_USE_DEFAULT
;
Paste #p8srdg8oy
Show paste
(climate != CLIMATE_TROPIC) ||
((climate == CLIMATE_TROPIC) &&
(nearby_tile_terrain_type(0, 0) == TILETYPE_DESERT)) ||
((climate == CLIMATE_TROPIC) &&
(nearby_tile_terrain_type(0, 0) == TILETYPE_NORMAL) &&
«
1
2
...
97
98
99
100
101
102
103
...
133
134
»