Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Convert Crab Bombs into a Global Script

Abierto
#118 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
cpp
Área
game-dev

Línea de trabajo

Read commit ce87d4051b6f25cf0c3fcac60f937b5018828a85 to locate the crab bomb settings in SettingsMan and the related C++ hacks. Then inspect the global script system to see how scripts are enabled; implement the behavior there with the threshold set to 42. Done means the old settings and C++ hacks are removed and the script can restore crab bombing when enabled.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement good first issue

Describe the Problem and Suggested Improvement
Crab bombing was an effect caused by old technical limitations to the game that were removed a long, long time ago. Effectively, the combination of crabs being free with very restrictive MOID limit meant that spamming crabs would quickly blow this limit, causing all non-brain actors to gib.

In CCCP build, this was readded to the code as an explicit 'feature' for nostalgia purposes, but it's such a specific detail that it ought to be removed from the C++ entirely and done via script.

Describe Additional Work Required Before Improvement Can be Made
The old crab bomb settings will need to be removed from SettingsMan, and have the vestigial crab bomb C++ hacks removed. Afterwards, a global script can be created that, when enabled, will re-introduce the crab bomb behaviour.

Note that global scripts, as of yet, lack the ability to have user-variable settings, e.g the crab bomb threshold. I suggest that the theshold is just set to its default value of 42 in the script.

Additional context
The commit that added the crab bombs was ce87d4051b6f25cf0c3fcac60f937b5018828a85.

Lenguaje dominante
C++
Estrellas
329
Forks
47
Merge medio
6 d 10 h
PR fusionados (30 d)
14

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cortex-command-community/Cortex-Command-Community-Project

Todos los issues de cortex-command-community/Cortex-Command-Community-Project

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.