‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
_zm_powerup_carpenter.gsc File Reference

Go to the source code of this file.

Macros

#define BOARD_REPAIR_DISTANCE_SQUARED   750 * 750
 

Functions

function __init__ ()
 
function func_should_drop_carpenter ()
 
function get_closest_window_repair (windows, origin)
 
function get_far_boards (windows)
 
function get_near_boards (windows)
 
function get_num_window_destroyed ()
 
function grab_carpenter (player)
 
function repair_far_boards (barriers, upgrade)
 
function start_carpenter (origin)
 
function start_carpenter_new (origin)
 

Macro Definition Documentation

◆ BOARD_REPAIR_DISTANCE_SQUARED

#define BOARD_REPAIR_DISTANCE_SQUARED   750 * 750

Definition at line 23 of file _zm_powerup_carpenter.gsc.

Function Documentation

◆ __init__()

◆ func_should_drop_carpenter()

function func_should_drop_carpenter ( )

Definition at line 396 of file _zm_powerup_carpenter.gsc.

References get_num_window_destroyed().

Referenced by __init__().

◆ get_closest_window_repair()

function get_closest_window_repair ( windows  ,
origin   
)

Definition at line 129 of file _zm_powerup_carpenter.gsc.

References all_chunks_intact().

Referenced by start_carpenter().

◆ get_far_boards()

function get_far_boards ( windows  )

Definition at line 302 of file _zm_powerup_carpenter.gsc.

References BOARD_REPAIR_DISTANCE_SQUARED, and close().

Referenced by start_carpenter_new().

◆ get_near_boards()

function get_near_boards ( windows  )

Definition at line 266 of file _zm_powerup_carpenter.gsc.

References BOARD_REPAIR_DISTANCE_SQUARED, and close().

Referenced by start_carpenter_new().

◆ get_num_window_destroyed()

function get_num_window_destroyed ( )

Definition at line 405 of file _zm_powerup_carpenter.gsc.

References all_chunks_destroyed().

Referenced by func_should_drop_carpenter().

◆ grab_carpenter()

function grab_carpenter ( player  )

◆ repair_far_boards()

function repair_far_boards ( barriers  ,
upgrade   
)

◆ start_carpenter()

◆ start_carpenter_new()