Skip to content

Commit

Permalink
Floor Goblin Antag Tip (goonstation#21493)
Browse files Browse the repository at this point in the history
Co-authored-by: Garash2k <[email protected]>
  • Loading branch information
Garash2k and Garash2k authored Nov 30, 2024
1 parent 4d958d1 commit 9608c07
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 3 deletions.
3 changes: 2 additions & 1 deletion _std/macros/antag_popups.dm
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
<a href='?src=\ref[src];action=souldorf'>Souldorf</a> |
<a href='?src=\ref[src];action=zoldorf'>Zoldorf</a> |
<a href='?src=\ref[src];action=football'>Football</a> |
<a href='?src=\ref[src];action=podwars'>Podwars</a>
<a href='?src=\ref[src];action=podwars'>Podwars</a> |
<a href='?src=\ref[src];action=[ROLE_FLOOR_GOBLIN]'>Floor goblin</a>
</div>
"}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added browserassets/images/antagTips/floor-goblin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion browserassets/tgui/tgui.bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion code/modules/antagonists/floor_goblin/floor_goblin.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/datum/antagonist/floor_goblin
id = ROLE_FLOOR_GOBLIN
display_name = "floor goblin"
has_info_popup = FALSE

/// The ability holder of this floor goblin, containing their respective abilities.
var/datum/abilityHolder/floor_goblin/ability_holder
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* @file
* @copyright 2024
* @author garash2k
* @license ISC
*/
import { Box, Image } from 'tgui-core/components';

import { resource } from '../../../goonstation/cdn';
import { AlertContentWindow } from '../types';

export const acw: AlertContentWindow = {
title: 'Floor Goblin Tips',
height: 630,
content: (
<>
<Box as="h1" textAlign="center" fontSize={2.5}>
You are a Floor goblin!
</Box>
<Image
src={resource('images/antagTips/floor-goblin.png')}
width="32px"
mx="auto"
mb={2}
style={{ display: 'block' }}
/>
<Image
src={resource('images/antagTips/floor-goblin-objective.png')}
width="500px"
mx="auto"
style={{ display: 'block' }}
/>
</>
),
};

0 comments on commit 9608c07

Please sign in to comment.