@@ -274,6 +274,14 @@ Adds the specified amount of ammo to the specified ammopool.
274
274
<b >Requires Trait:</b > AmmoPool
275
275
</td ></tr >
276
276
</table >
277
+ <table align =" center " width =" 1024 " ><tr ><th colspan =" 2 " width =" 1024 " >Cloak</th ></tr >
278
+ <tr ><td width =" 50% " align =" right " ><strong >bool IsCloaked { get; }</strong >
279
+ </td ><td >
280
+ Returns true if the actor is cloaked.
281
+ <br />
282
+ <b >Requires Trait:</b > Cloak
283
+ </td ></tr >
284
+ </table >
277
285
<table align =" center " width =" 1024 " ><tr ><th colspan =" 2 " width =" 1024 " >Combat</th ></tr >
278
286
<tr ><td width =" 50% " align =" right " ><strong >void Attack(Actor targetActor, bool allowMove = True, bool forceAttack = False)</strong >
279
287
</td ><td >
@@ -330,6 +338,44 @@ Patrol along a set of given waypoints until a condition becomes true. The actor
330
338
<b >Requires Traits:</b > IMove, AttackBase
331
339
</td ></tr >
332
340
</table >
341
+ <table align =" center " width =" 1024 " ><tr ><th colspan =" 2 " width =" 1024 " >Experience</th ></tr >
342
+ <tr ><td width =" 50% " align =" right " ><strong >bool CanGainLevel { get; }</strong >
343
+ </td ><td >
344
+ Returns true if the actor can gain a level.
345
+ <br />
346
+ <b >Requires Trait:</b > GainsExperience
347
+ </td ></tr >
348
+ <tr ><td width =" 50% " align =" right " ><strong >int Experience { get; }</strong >
349
+ </td ><td >
350
+ The actor's amount of experience.
351
+ <br />
352
+ <b >Requires Trait:</b > GainsExperience
353
+ </td ></tr >
354
+ <tr ><td width =" 50% " align =" right " ><strong >void GiveExperience(int amount, bool silent = False)</strong >
355
+ </td ><td >
356
+ Gives the actor experience. If 'silent' is true, no animation or sound will be played if the actor levels up.
357
+ <br />
358
+ <b >Requires Trait:</b > GainsExperience
359
+ </td ></tr >
360
+ <tr ><td width =" 50% " align =" right " ><strong >void GiveLevels(int numLevels, bool silent = False)</strong >
361
+ </td ><td >
362
+ Gives the actor level(s). If 'silent' is true, no animation or sound will be played.
363
+ <br />
364
+ <b >Requires Trait:</b > GainsExperience
365
+ </td ></tr >
366
+ <tr ><td width =" 50% " align =" right " ><strong >int Level { get; }</strong >
367
+ </td ><td >
368
+ The actor's level.
369
+ <br />
370
+ <b >Requires Trait:</b > GainsExperience
371
+ </td ></tr >
372
+ <tr ><td width =" 50% " align =" right " ><strong >int MaxLevel { get; }</strong >
373
+ </td ><td >
374
+ The actor's maximum possible level.
375
+ <br />
376
+ <b >Requires Trait:</b > GainsExperience
377
+ </td ></tr >
378
+ </table >
333
379
<table align =" center " width =" 1024 " ><tr ><th colspan =" 2 " width =" 1024 " >General</th ></tr >
334
380
<tr ><td width =" 50% " align =" right " ><strong >bool AcceptsCondition(string condition)</strong >
335
381
</td ><td >
@@ -680,9 +726,9 @@ Specifies the amount of passengers.
680
726
<br />
681
727
<b >Requires Trait:</b > Cargo
682
728
</td ></tr >
683
- <tr ><td width =" 50% " align =" right " ><strong >Actor UnloadPassenger()</strong >
729
+ <tr ><td width =" 50% " align =" right " ><strong >Actor UnloadPassenger(Actor a = nil )</strong >
684
730
</td ><td >
685
- Remove the first actor from the transport. This actor is not added to the world.
731
+ Remove an existing actor (or first actor if none specified) from the transport. This actor is not added to the world.
686
732
<br />
687
733
<b >Requires Trait:</b > Cargo
688
734
</td ></tr >
0 commit comments