Skip to content

Commit

Permalink
Merge pull request #116 from hexagonrecursion/obj-dead-3
Browse files Browse the repository at this point in the history
Improve object.txt and update translations
  • Loading branch information
tomaszkax86 authored Sep 25, 2024
2 parents d87b7b2 + 1053e0b commit 36f7b7d
Show file tree
Hide file tree
Showing 8 changed files with 1,255 additions and 1,143 deletions.
4 changes: 2 additions & 2 deletions help/cbot/E/object.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Use this type for variables that contain the characteristics of an object, be it
\c;object object.load \n;Object carried by the bot
\c;\l;int\u cbot\int; object.team \n;The object's team (see \l;code battles\u battles;)
\c;\l;point\u cbot\point; object.velocity \n;Velocity of the object
\c;\l;bool\u cbot\bool; object.dead \n;Is the alien dead?
\c;\l;bool\u cbot\bool; object.dead \n;Is the object dead?

Also, some objects have additional methods (instructions). See them in \l;the main list\u cbot; in the \c;"Instructions specific for some objects" section.

Expand Down Expand Up @@ -65,7 +65,7 @@ The bot's team. Used in \l;code battles\u battles;. If the object has no team as
Current velocity of the object. Should be treated as a three-dimensional vector.

\s;\c;dead\n;
True if the object is an alien and was recently killed (while the death animation is playing). Note that accessing this property or any other property after the death animation finishes will cause an error that stops the program.
True if the object was recently killed (while the death animation is playing). Note that accessing this property or any other property after the death animation finishes will cause an error that stops the program.

\b;Examples
The type \c;object\n; returns the special value \c;\l;null\u cbot\null;\n; when the object does not exist. For example:
Expand Down
288 changes: 151 additions & 137 deletions help/cbot/po/cbot.pot

Large diffs are not rendered by default.

373 changes: 192 additions & 181 deletions help/cbot/po/cs.po

Large diffs are not rendered by default.

303 changes: 161 additions & 142 deletions help/cbot/po/de.po

Large diffs are not rendered by default.

366 changes: 191 additions & 175 deletions help/cbot/po/fr.po

Large diffs are not rendered by default.

366 changes: 191 additions & 175 deletions help/cbot/po/pl.po

Large diffs are not rendered by default.

366 changes: 191 additions & 175 deletions help/cbot/po/pt.po

Large diffs are not rendered by default.

332 changes: 176 additions & 156 deletions help/cbot/po/ru.po

Large diffs are not rendered by default.

0 comments on commit 36f7b7d

Please sign in to comment.