diff --git a/db/factories/momentum.txt b/db/factories/momentum.txt index 9e03d37b3..1a56cd999 100644 --- a/db/factories/momentum.txt +++ b/db/factories/momentum.txt @@ -230,7 +230,10 @@ momentary_door momentary_rot_button momentum_df_weaponspawner momentum_generic_bomb +momentum_powerup_damageboost momentum_powerup_doublejump +momentum_powerup_flight +momentum_powerup_haste mom_replay_playback mortarshell move_keyframed diff --git a/fgd/bases/MomentumPickup.fgd b/fgd/bases/MomentumPickup.fgd index 74072f14a..1b2ba9b45 100644 --- a/fgd/bases/MomentumPickup.fgd +++ b/fgd/bases/MomentumPickup.fgd @@ -3,4 +3,7 @@ = MomentumPickup [ ResetTime(float) : "Delay before reset" : 10 : "How long until the pickup reappears after being picked up. 0 means it won't disappear and negative values mean it won't reappear." + + // Outputs + output OnPickup(void) : "Fired when the item is picked up." ] diff --git a/fgd/point/momentum/momentum_powerup_flight.fgd b/fgd/point/momentum/momentum_powerup_flight.fgd new file mode 100644 index 000000000..a76c46b51 --- /dev/null +++ b/fgd/point/momentum/momentum_powerup_flight.fgd @@ -0,0 +1,7 @@ +@PointClass base(MomentumPickup) + appliesto(MOMENTUM) + size(-43 -43 -36, 43 43 66) += momentum_powerup_flight : "Flight Powerup" + [ + FlightTime(float) : "Flight Time" : "30" : "The amount of time in seconds the flight effect lasts. Any negative value is infinite duration." + ] diff --git a/fgd/visgroups.cfg b/fgd/visgroups.cfg index 4d1d06dc1..c07c9c2b7 100644 --- a/fgd/visgroups.cfg +++ b/fgd/visgroups.cfg @@ -855,6 +855,7 @@ * `item_boots` # Momentum + * `momentum_powerup_flight` * `momentum_powerup_haste` * `momentum_powerup_damageboost` * `momentum_powerup_doublejump`