Loading

Paste #p9ffxs9pv

  1. --[[
  2. This function checks if a tile has no entity on it and (optionally) if it is not
  3. in a room.
  4. !param x (integer) the queried tile's x coordinate.
  5. !param y (integer) the queried tile's y coordinate.
  1.  
  2.  
  3. template template_x1_8bpp_vehicle8(y,f) {
  4.     [ 0*64, 80*y, 64, 80, -15-32+16, -25-8, f]
  5.     [ 1*64, 80*y, 64, 80, -18-32+16, -22-12, f]

Paste #pvxjvmygu

  1. diff -r ca32821c5fe9 nml/actions/action0.py
  2. --- a/nml/actions/action0.py    Sat Nov 14 11:35:12 2015 +0100
  3. +++ b/nml/actions/action0.py    Fri Dec 11 19:09:38 2015 +0100
  4. @@ -969,15 +969,16 @@
  5.  def parse_sort_block(feature, vehid_list):

town growth

  1. +/**
  2. + * Calculates town growth rate in normal conditions (custom growth rate not set).
  3. + * @param town The town to calculate growth rate for
  4. + * @returns Calculated growth rate
  5. + */

Paste #plbrfnrsp

  1. // SUGGESTION:
  2. /** Filter data for NetworkContentListWindow. */
  3. struct ContentListFilterData {
  4.     StringFilter string_filter;       ///< Text filter of content list
  5.     std::list<ContentType> type_list; ///< Content types displayed or empty list for any

Paste #pnckza9mu

  1. --Called when the patient sits up from a bench for whatever reason
  2. --Maybe related to Humanoid:removedObject(object)
  3. function Bench:removeUser(user)
  4.   if user then
  5.     local has_idle = false

Paste #phixs4ef4

  1. item(booster_wagon ...)
  2. {
  3. }
  4.  
  5. // return power, as computed in TEMP(0)

Paste #pbduu7epq

  1. --lang=ISOCODE --lang=LANGNAME
  2.     For "upload-translations": Languages to upload. (default: all in LANG_DIR)
  3. --file=LANGFILE
  4.     For "upload-translations": Language file to upload, relative path to LANG_DIR. (default: all in LANG_DIR)

Paste #piccl5c09

  1. Current syntax:
  2. lang_sync upload-base
  3. lang_sync upload-translations
  4.  
  5. Options for new synax:

Paste #pn9ytwehb

  1. diff -r 25f65e3727d8 webtranslate/pages/upload_language.py
  2. --- a/webtranslate/pages/upload_language.py Sat Sep 26 14:08:48 2015 +0200
  3. +++ b/webtranslate/pages/upload_language.py Mon Nov 23 20:22:34 2015 +0100
  4. @@ -211,7 +211,11 @@
  5.          lng.set_modified()

Paste #ptetqoz97

  1. // This:
  2.         uint old_rate = t->growth_rate;
  3.         if (p2 == TOWN_GROW_RATE_NORMAL)
  4.             t->growth_rate = GetNormalGrowthRate(t);
  5.         else

Paste #ppvkg5kox

  1. digraph G {
  2.     A -> B [sametail="1"]
  3.     A -> C [sametail="1"]
  4.     A -> D [samehead="2"]
  5.     C -> D [samehead="2"]

Paste #p2yg7h5zi

  1. diff -r cb1ea3350df1 src/docs_templates/cargoflow.pt
  2. --- a/src/docs_templates/cargoflow.pt   Sat Nov 14 19:29:29 2015 +0000
  3. +++ b/src/docs_templates/cargoflow.pt   Sat Nov 14 20:41:35 2015 +0100
  4. @@ -38,7 +38,7 @@
  5.                      C_${cargo.id} -> I_${industry.id}

Paste #p9gtfippl

  1. diff -r cb1ea3350df1 src/docs_templates/cargoflow_styles.pt
  2. --- a/src/docs_templates/cargoflow_styles.pt    Sat Nov 14 19:29:29 2015 +0000
  3. +++ b/src/docs_templates/cargoflow_styles.pt    Sat Nov 14 20:39:11 2015 +0100
  4. @@ -38,14 +38,12 @@
  5.  </tal:industries>

Paste #pylgirvfu

  1. diff --git a/nml/actions/action0properties.py b/nml/actions/action0properties.py
  2. --- a/nml/actions/action0properties.py
  3. +++ b/nml/actions/action0properties.py
  4. @@ -816,7 +816,8 @@ properties[0x0A] = {
  5.      'min_cargo_distr'        : {'size': 1, 'num': 0x14},